Class DefaultActionDefinitionAutoDeployer
java.lang.Object
com.flowable.action.engine.impl.deployer.DefaultActionDefinitionAutoDeployer
- All Implemented Interfaces:
java.util.EventListener
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
,org.springframework.core.Ordered
public class DefaultActionDefinitionAutoDeployer
extends java.lang.Object
implements org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.core.Ordered
-
Field Summary
Fields Modifier and Type Field Description protected ActionEngine
actionEngine
protected org.springframework.context.ApplicationContext
applicationContext
static java.lang.String
DEFAULT_DEPLOYMENT_NAME
static int
DEFAULT_ORDER
protected java.lang.String
deploymentName
protected java.util.Collection<org.springframework.core.io.Resource>
deploymentResources
protected int
order
-
Constructor Summary
Constructors Constructor Description DefaultActionDefinitionAutoDeployer(java.util.Collection<org.springframework.core.io.Resource> deploymentResources, ActionEngine actionEngine)
DefaultActionDefinitionAutoDeployer(java.util.Collection<org.springframework.core.io.Resource> deploymentResources, ActionEngine actionEngine, java.lang.String deploymentName)
-
Method Summary
Modifier and Type Method Description void
deployResources()
int
getOrder()
void
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
void
setOrder(int order)
-
Field Details
-
DEFAULT_DEPLOYMENT_NAME
public static final java.lang.String DEFAULT_DEPLOYMENT_NAME- See Also:
- Constant Field Values
-
DEFAULT_ORDER
public static final int DEFAULT_ORDER- See Also:
- Constant Field Values
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
deploymentResources
protected java.util.Collection<org.springframework.core.io.Resource> deploymentResources -
actionEngine
-
deploymentName
protected java.lang.String deploymentName -
order
protected int order
-
-
Constructor Details
-
DefaultActionDefinitionAutoDeployer
public DefaultActionDefinitionAutoDeployer(java.util.Collection<org.springframework.core.io.Resource> deploymentResources, ActionEngine actionEngine) -
DefaultActionDefinitionAutoDeployer
public DefaultActionDefinitionAutoDeployer(java.util.Collection<org.springframework.core.io.Resource> deploymentResources, ActionEngine actionEngine, java.lang.String deploymentName)
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order) -
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
deployResources
public void deployResources() -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-