Class ServiceRegistryEngines
java.lang.Object
com.flowable.serviceregistry.engine.ServiceRegistryEngines
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static booleanstatic final Stringprotected static Map<String,ServiceRegistryEngine> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddestroy()Closes all service engines.static ServiceRegistryEnginestatic ServiceRegistryEnginegetServiceRegistryEngine(String serviceRegistryEngineName) Obtain an service engine by name.static Map<String,ServiceRegistryEngine> Provides access to service engines to application clients in a managed server environment.static booleanstatic voidregisterEngine(ServiceRegistryEngine serviceRegistryEngine) Registers the given service engine.static voidsetInitialized(boolean isInitialized) static voidunregister(ServiceRegistryEngine serviceRegistryEngine) Unregisters the given service engine.
-
Field Details
-
NAME_DEFAULT
- See Also:
-
isInitialized
protected static boolean isInitialized -
serviceRegistryEngines
-
-
Constructor Details
-
ServiceRegistryEngines
public ServiceRegistryEngines()
-
-
Method Details
-
registerEngine
Registers the given service engine. NoEngineInfowill be available for this service engine. An engine that is registered will be closed when thedestroy()is called. -
unregister
Unregisters the given service engine. -
getDefaultServiceRegistryEngine
-
getServiceRegistryEngine
Obtain an service engine by name.- Parameters:
serviceRegistryEngineName- is the name of the service engine
-
getServiceRegistryEngines
Provides access to service engines to application clients in a managed server environment. -
destroy
public static void destroy()Closes all service engines. This method should be called when the server shuts down. -
isInitialized
public static boolean isInitialized() -
setInitialized
public static void setInitialized(boolean isInitialized)
-