public static final synchronized void putRuntimeManager ( QName serviceDomainName , QName serviceName , KnowledgeRuntimeManager runtimeManager ) { if ( serviceDomainName == null ) { serviceDomainName = ROOT_DOMAIN ; } Map < QName , KnowledgeRuntimeManager > reg = REGISTRY . get ( serviceDomainName ) ; if ( reg == null ) { reg = Collections . synchronizedMap ( new HashMap < QName , KnowledgeRuntimeManager > ( ) ) ; REGISTRY . put ( serviceDomainName , reg ) ; } if ( runtimeManager == null ) { reg . remove ( serviceName ) ; } else { reg . put ( serviceName , runtimeManager ) ; } }
Puts a runtime manager .