Package org.apache.synapse.startup.tasks
Class RegistryResourceFetcher
- java.lang.Object
-
- org.apache.synapse.startup.tasks.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 configurationregistry path
-
-
Constructor Summary
Constructors Constructor Description RegistryResourceFetcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()This method should implement the destroying of the implemented parts of the configuration.voidexecute()intgetBackOffFactor()org.apache.axiom.om.OMElementgetItems()intgetMaxSuspendThreshold()StategetState()intgetSuspendThreshold()voidinit(SynapseEnvironment se)This method should implement the initialization of the implemented parts of the configuration.voidreset()voidsetBackOffFactor(int backOffFactor)voidsetItems(org.apache.axiom.om.OMElement items)voidsetMaxSuspendThreshold(int maxSuspendThreshold)voidsetState(State state)voidsetSuspendThreshold(int suspendThreshold)
-
-
-
Field Detail
-
SEQUENCE
public static final String SEQUENCE
- See Also:
- Constant Field Values
-
ENDPOINT
public static final String ENDPOINT
- See Also:
- Constant Field Values
-
XML
public static final String XML
- See Also:
- Constant Field Values
-
TEXT
public static final String TEXT
- See Also:
- Constant Field Values
-
-
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:ManagedLifecycleThis method should implement the initialization of the implemented parts of the configuration.- Specified by:
initin interfaceManagedLifecycle- Parameters:
se- SynapseEnvironment to be used for initialization
-
destroy
public void destroy()
Description copied from interface:ManagedLifecycleThis method should implement the destroying of the implemented parts of the configuration.- Specified by:
destroyin interfaceManagedLifecycle
-
execute
public void execute()
- Specified by:
executein interfaceorg.apache.synapse.task.Task
-
setState
public void setState(State state)
-
getState
public State getState()
-
reset
public void reset()
-
-