Class RegistryResourceFetcher

  • All Implemented Interfaces:
    ManagedLifecycle, org.apache.synapse.task.Task

    public class RegistryResourceFetcher
    extends Object
    implements org.apache.synapse.task.Task, ManagedLifecycle
    Items is a xml configuration registry path
    • Constructor Detail

      • RegistryResourceFetcher

        public RegistryResourceFetcher()
    • Method Detail

      • getItems

        public org.apache.axiom.om.OMElement getItems()
      • setItems

        public void setItems​(org.apache.axiom.om.OMElement items)
      • getSuspendThreshold

        public int getSuspendThreshold()
      • getMaxSuspendThreshold

        public int getMaxSuspendThreshold()
      • getBackOffFactor

        public int getBackOffFactor()
      • setBackOffFactor

        public void setBackOffFactor​(int backOffFactor)
      • setMaxSuspendThreshold

        public void setMaxSuspendThreshold​(int maxSuspendThreshold)
      • setSuspendThreshold

        public void setSuspendThreshold​(int suspendThreshold)
      • init

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

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

        public void execute()
        Specified by:
        execute in interface org.apache.synapse.task.Task
      • setState

        public void setState​(State state)
      • getState

        public State getState()
      • reset

        public void reset()