org.apache.axis2.clustering.context
Class DefaultContextManager

java.lang.Object
  extended by org.apache.axis2.clustering.context.DefaultContextManager
All Implemented Interfaces:
ContextManager, ParameterInclude

public class DefaultContextManager
extends java.lang.Object
implements ContextManager


Constructor Summary
DefaultContextManager()
           
 
Method Summary
 void addParameter(Parameter param)
           
 void deserializeParameters(org.apache.axiom.om.OMElement parameterElement)
           
 Parameter getParameter(java.lang.String name)
           
 java.util.ArrayList getParameters()
           
 java.util.Map getReplicationExcludePatterns()
           
 boolean isContextClusterable(AbstractContext context)
           
 boolean isParameterLocked(java.lang.String parameterName)
           
 void removeContext(AbstractContext context)
           
 void removeParameter(Parameter param)
           
 void setConfigurationContext(ConfigurationContext configurationContext)
           
 void setContextManagerListener(ContextManagerListener listener)
           
 void setReplicationExcludePatterns(java.lang.String contextType, java.util.List patterns)
           
 void setSender(ChannelSender sender)
           
 void updateContext(AbstractContext context)
           
 void updateContext(AbstractContext context, java.lang.String[] propertyNames)
           
 void updateContexts(AbstractContext[] contexts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultContextManager

public DefaultContextManager()
Method Detail

setSender

public void setSender(ChannelSender sender)

updateContext

public void updateContext(AbstractContext context)
                   throws ClusteringFault
Specified by:
updateContext in interface ContextManager
Throws:
ClusteringFault

updateContext

public void updateContext(AbstractContext context,
                          java.lang.String[] propertyNames)
                   throws ClusteringFault
Specified by:
updateContext in interface ContextManager
Throws:
ClusteringFault

updateContexts

public void updateContexts(AbstractContext[] contexts)
                    throws ClusteringFault
Specified by:
updateContexts in interface ContextManager
Throws:
ClusteringFault

removeContext

public void removeContext(AbstractContext context)
                   throws ClusteringFault
Specified by:
removeContext in interface ContextManager
Throws:
ClusteringFault

isContextClusterable

public boolean isContextClusterable(AbstractContext context)
Specified by:
isContextClusterable in interface ContextManager

setContextManagerListener

public void setContextManagerListener(ContextManagerListener listener)
Specified by:
setContextManagerListener in interface ContextManager

setConfigurationContext

public void setConfigurationContext(ConfigurationContext configurationContext)
Specified by:
setConfigurationContext in interface ContextManager

setReplicationExcludePatterns

public void setReplicationExcludePatterns(java.lang.String contextType,
                                          java.util.List patterns)
Specified by:
setReplicationExcludePatterns in interface ContextManager

getReplicationExcludePatterns

public java.util.Map getReplicationExcludePatterns()
Specified by:
getReplicationExcludePatterns in interface ContextManager

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-2010 The Apache Software Foundation. All Rights Reserved.