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 void
destroy()
This method should implement the destroying of the implemented parts of the configuration.void
execute()
int
getBackOffFactor()
org.apache.axiom.om.OMElement
getItems()
int
getMaxSuspendThreshold()
State
getState()
int
getSuspendThreshold()
void
init(SynapseEnvironment se)
This method should implement the initialization of the implemented parts of the configuration.void
reset()
void
setBackOffFactor(int backOffFactor)
void
setItems(org.apache.axiom.om.OMElement items)
void
setMaxSuspendThreshold(int maxSuspendThreshold)
void
setState(State state)
void
setSuspendThreshold(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:ManagedLifecycle
This method should implement the initialization of the implemented parts of the configuration.- Specified by:
init
in interfaceManagedLifecycle
- 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 interfaceManagedLifecycle
-
execute
public void execute()
- Specified by:
execute
in interfaceorg.apache.synapse.task.Task
-
setState
public void setState(State state)
-
getState
public State getState()
-
reset
public void reset()
-
-