|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.endpoints.algorithms.AlgorithmContext
public class AlgorithmContext
Keeps the runtime state of the algorithm
| Constructor Summary | |
|---|---|
AlgorithmContext(boolean clusteringEnabled,
ConfigurationContext cfgCtx,
String endpointName)
|
|
| Method Summary | |
|---|---|
ConfigurationContext |
getConfigurationContext()
Get the configuration context instance . |
int |
getCurrentEndpointIndex()
To get the position of the current EPR for use. |
Object |
getProperty(String key)
Get the property value corresponding to a specified key |
void |
setCurrentEndpointIndex(int currentEPR)
The position of the current EPR |
void |
setProperty(String key,
Object value)
Store a property in the algorithm context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlgorithmContext(boolean clusteringEnabled,
ConfigurationContext cfgCtx,
String endpointName)
| Method Detail |
|---|
public int getCurrentEndpointIndex()
public void setCurrentEndpointIndex(int currentEPR)
currentEPR - The current positionpublic ConfigurationContext getConfigurationContext()
public Object getProperty(String key)
key - The key of the property
public void setProperty(String key,
Object value)
key - The key of the propertyvalue - The value of the property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||