|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContextManager
Method Summary | |
---|---|
java.util.Map |
getReplicationExcludePatterns()
Get all the excluded context property name patterns |
boolean |
isContextClusterable(AbstractContext context)
|
boolean |
isMessageAcknowledged(java.lang.String messageUniqueId)
Indicates whether a particular message has been ACKed by all members of a cluster |
java.lang.String |
removeContext(AbstractContext context)
This method is called when a new AbstractContext is removed from the system |
void |
setConfigurationContext(ConfigurationContext configurationContext)
|
void |
setContextManagerListener(ContextManagerListener listener)
|
void |
setReplicationExcludePatterns(java.lang.String contextType,
java.util.List patterns)
All properties in the context with type contextType which have
names that match the specified pattern will be excluded from replication. |
java.lang.String |
updateContext(AbstractContext context)
This method is called when properties in an AbstractContext are updated. |
java.lang.String |
updateContexts(AbstractContext[] contexts)
This method is called when properties in a collection of AbstractContext s are updated. |
Methods inherited from interface org.apache.axis2.description.ParameterInclude |
---|
addParameter, deserializeParameters, getParameter, getParameters, isParameterLocked, removeParameter |
Method Detail |
---|
java.lang.String updateContext(AbstractContext context) throws ClusteringFault
AbstractContext
are updated.
This could be addition of new properties, modifications of existing properties or
removal of properties.
context
-
ClusteringFault
java.lang.String updateContexts(AbstractContext[] contexts) throws ClusteringFault
AbstractContext
s are updated.
This could be addition of new properties, modifications of existing properties or
removal of properties.
contexts
-
ClusteringFault
java.lang.String removeContext(AbstractContext context) throws ClusteringFault
AbstractContext
is removed from the system
context
-
ClusteringFault
boolean isContextClusterable(AbstractContext context)
context
-
AbstractContext
is clusterableboolean isMessageAcknowledged(java.lang.String messageUniqueId) throws ClusteringFault
messageUniqueId
-
messageUniqueId
false - otherwise
ClusteringFault
void setContextManagerListener(ContextManagerListener listener)
listener
- void setConfigurationContext(ConfigurationContext configurationContext)
configurationContext
- void setReplicationExcludePatterns(java.lang.String contextType, java.util.List patterns)
contextType
which have
names that match the specified pattern will be excluded from replication.
Generally, we can use the context class name as the context type.
contextType
- patterns
- The patternsjava.util.Map getReplicationExcludePatterns()
contextType
. See setReplicationExcludePatterns(String,List)
.
The values are of type List
of String
Objects,
which are a collection of patterns to be excluded.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |