|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.clustering.state.Replicator
public final class Replicator
Replicates serializable properties
| Constructor Summary | |
|---|---|
Replicator()
|
|
| Method Summary | |
|---|---|
static void |
replicate(AbstractContext abstractContext)
Replicate all serializable properties stored in the given abstractContext. |
static void |
replicate(AbstractContext abstractContext,
String[] propertyNames)
Replicate all the properties given in propertyNames
in the specified abstractContext |
static void |
replicate(MessageContext msgContext)
Replicates all serializable properties in the ConfigurationContext, ServiceGroupContext & ServiceContext |
static void |
replicateState(StateClusteringCommand command,
AxisConfiguration axisConfig)
Replicate state using a custom StateClusteringCommand |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Replicator()
| Method Detail |
|---|
public static void replicateState(StateClusteringCommand command,
AxisConfiguration axisConfig)
throws ClusteringFault
command - The StateClusteringCommand which is used for replicating stateaxisConfig - The AxisConfiguration
ClusteringFault - If replication fails
public static void replicate(MessageContext msgContext)
throws ClusteringFault
msgContext - The MessageContext associated with the ServiceContext,
ServiceGroupContext and ConfigurationContext to be replicated
ClusteringFault - If replication fails
public static void replicate(AbstractContext abstractContext)
throws ClusteringFault
abstractContext.
abstractContext - The AbstractContext which holds the properties to be replicated
ClusteringFault - If replication fails
public static void replicate(AbstractContext abstractContext,
String[] propertyNames)
throws ClusteringFault
propertyNames
in the specified abstractContext
abstractContext - The context to be replicatedpropertyNames - The names of the properties to be replicated
ClusteringFault - IF replication fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||