Package com.flowable.agent.engine
Class AgentEngines
java.lang.Object
com.flowable.agent.engine.AgentEngines
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static Map<String, AgentEngine> protected static booleanstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddestroy()Closes all agent engines.static AgentEnginegetAgentEngine(String agentEngineName) Obtain an agent engine by name.static Map<String, AgentEngine> Provides access to agent engines to application clients in a managed server environment.static AgentEnginestatic booleanstatic voidregisterEngine(AgentEngine agentEngine) Registers the given agent engine.static voidsetInitialized(boolean isInitialized) static voidunregister(AgentEngine agentEngine) Unregisters the given agent engine.
-
Field Details
-
NAME_DEFAULT
- See Also:
-
isInitialized
protected static boolean isInitialized -
agentEngines
-
-
Constructor Details
-
AgentEngines
public AgentEngines()
-
-
Method Details
-
registerEngine
Registers the given agent engine. NoEngineInfowill be available for this agent engine. An engine that is registered will be closed when thedestroy()is called. -
unregister
Unregisters the given agent engine. -
getDefaultAgentEngine
-
getAgentEngine
Obtain an agent engine by name.- Parameters:
agentEngineName- is the name of the agent engine
-
getAgentEngines
Provides access to agent engines to application clients in a managed server environment. -
destroy
public static void destroy()Closes all agent engines. This method should be called when the server shuts down. -
isInitialized
public static boolean isInitialized() -
setInitialized
public static void setInitialized(boolean isInitialized)
-