Class 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 Detail

      • DEFAULT_DEPLOYMENT_NAME

        public static final java.lang.String DEFAULT_DEPLOYMENT_NAME
        See Also:
        Constant Field Values
      • applicationContext

        protected org.springframework.context.ApplicationContext applicationContext
      • deploymentResources

        protected java.util.Collection<org.springframework.core.io.Resource> deploymentResources
      • deploymentName

        protected java.lang.String deploymentName
      • order

        protected int order
    • Constructor Detail

      • 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 Detail

      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • setOrder

        public void setOrder​(int order)
      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.context.event.ContextRefreshedEvent event)
        Specified by:
        onApplicationEvent in interface org.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 interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException