Class ServiceRegistryEngines
- java.lang.Object
-
- com.flowable.serviceregistry.engine.ServiceRegistryEngines
-
public abstract class ServiceRegistryEngines extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static boolean
isInitialized
static java.lang.String
NAME_DEFAULT
protected static java.util.Map<java.lang.String,ServiceRegistryEngine>
serviceRegistryEngines
-
Constructor Summary
Constructors Constructor Description ServiceRegistryEngines()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
destroy()
Closes all service engines.static ServiceRegistryEngine
getDefaultServiceRegistryEngine()
static ServiceRegistryEngine
getServiceRegistryEngine(java.lang.String serviceRegistryEngineName)
Obtain an service engine by name.static java.util.Map<java.lang.String,ServiceRegistryEngine>
getServiceRegistryEngines()
Provides access to service engines to application clients in a managed server environment.static boolean
isInitialized()
static void
registerEngine(ServiceRegistryEngine serviceRegistryEngine)
Registers the given service engine.static void
setInitialized(boolean isInitialized)
static void
unregister(ServiceRegistryEngine serviceRegistryEngine)
Unregisters the given service engine.
-
-
-
Field Detail
-
NAME_DEFAULT
public static final java.lang.String NAME_DEFAULT
- See Also:
- Constant Field Values
-
isInitialized
protected static boolean isInitialized
-
serviceRegistryEngines
protected static java.util.Map<java.lang.String,ServiceRegistryEngine> serviceRegistryEngines
-
-
Method Detail
-
registerEngine
public static void registerEngine(ServiceRegistryEngine serviceRegistryEngine)
Registers the given service engine. NoEngineInfo
will be available for this service engine. An engine that is registered will be closed when thedestroy()
is called.
-
unregister
public static void unregister(ServiceRegistryEngine serviceRegistryEngine)
Unregisters the given service engine.
-
getDefaultServiceRegistryEngine
public static ServiceRegistryEngine getDefaultServiceRegistryEngine()
-
getServiceRegistryEngine
public static ServiceRegistryEngine getServiceRegistryEngine(java.lang.String serviceRegistryEngineName)
Obtain an service engine by name.- Parameters:
serviceRegistryEngineName
- is the name of the service engine
-
getServiceRegistryEngines
public static java.util.Map<java.lang.String,ServiceRegistryEngine> 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)
-
-