Class StartUpController

    • Constructor Detail

      • StartUpController

        public StartUpController()
    • Method Detail

      • getTagQName

        public QName getTagQName()
        Description copied from interface: Startup
        This will return the configuration tag QName of the implemented startup
        Returns:
        QName representing the configuration element for the startup
      • destroy

        public void destroy​(boolean removeTask)
        Remove the scheduled task completely. So only un-deployment will remove the task. Server node shutdown will keep task intact in the registry.

        This was introduced as a fix for product-ei#1206.

        Parameters:
        removeTask - whether keep the task or not.
      • destroy

        public void destroy()
        Description copied from interface: ManagedLifecycle
        This method should implement the destroying of the implemented parts of the configuration.
      • init

        public void init​(SynapseEnvironment synapseEnvironment)
        Description copied from interface: ManagedLifecycle
        This method should implement the initialization of the implemented parts of the configuration.
        Parameters:
        synapseEnvironment - SynapseEnvironment to be used for initialization
      • getTaskDescription

        public org.apache.synapse.task.TaskDescription getTaskDescription()
      • setTaskDescription

        public void setTaskDescription​(org.apache.synapse.task.TaskDescription taskDescription)