org.apache.axis2.clustering.state
Class DefaultStateManager
java.lang.Object
org.apache.axis2.clustering.state.DefaultStateManager
- All Implemented Interfaces:
- StateManager, ParameterInclude
public class DefaultStateManager
- extends java.lang.Object
- implements StateManager
This class is the defaut StateManager of the Apache Tribes based clustering implementation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultStateManager
public DefaultStateManager()
setSender
public void setSender(ChannelSender sender)
updateContext
public void updateContext(AbstractContext context)
throws ClusteringFault
- Specified by:
updateContext in interface StateManager
- Throws:
ClusteringFault
updateContext
public void updateContext(AbstractContext context,
java.lang.String[] propertyNames)
throws ClusteringFault
- Specified by:
updateContext in interface StateManager
- Throws:
ClusteringFault
updateContexts
public void updateContexts(AbstractContext[] contexts)
throws ClusteringFault
- Specified by:
updateContexts in interface StateManager
- Throws:
ClusteringFault
replicateState
public void replicateState(StateClusteringCommand command)
throws ClusteringFault
- Specified by:
replicateState in interface StateManager
- Throws:
ClusteringFault
removeContext
public void removeContext(AbstractContext context)
throws ClusteringFault
- Specified by:
removeContext in interface StateManager
- Throws:
ClusteringFault
isContextClusterable
public boolean isContextClusterable(AbstractContext context)
- Specified by:
isContextClusterable in interface StateManager
setConfigurationContext
public void setConfigurationContext(ConfigurationContext configurationContext)
- Specified by:
setConfigurationContext in interface StateManager
setReplicationExcludePatterns
public void setReplicationExcludePatterns(java.lang.String contextType,
java.util.List patterns)
- Specified by:
setReplicationExcludePatterns in interface StateManager
getReplicationExcludePatterns
public java.util.Map getReplicationExcludePatterns()
- Specified by:
getReplicationExcludePatterns in interface StateManager
addParameter
public void addParameter(Parameter param)
throws AxisFault
- Specified by:
addParameter in interface ParameterInclude
- Throws:
AxisFault
removeParameter
public void removeParameter(Parameter param)
throws AxisFault
- Specified by:
removeParameter in interface ParameterInclude
- Throws:
AxisFault
getParameter
public Parameter getParameter(java.lang.String name)
- Specified by:
getParameter in interface ParameterInclude
getParameters
public java.util.ArrayList getParameters()
- Specified by:
getParameters in interface ParameterInclude
isParameterLocked
public boolean isParameterLocked(java.lang.String parameterName)
- Specified by:
isParameterLocked in interface ParameterInclude
deserializeParameters
public void deserializeParameters(org.apache.axiom.om.OMElement parameterElement)
throws AxisFault
- Specified by:
deserializeParameters in interface ParameterInclude
- Throws:
AxisFault
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.