public final class Replicator
extends java.lang.Object
| Constructor and Description |
|---|
Replicator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
replicate(AbstractContext abstractContext)
Replicate all serializable properties stored in the given
abstractContext. |
static void |
replicate(AbstractContext abstractContext,
java.lang.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
|
public static void replicateState(StateClusteringCommand command, AxisConfiguration axisConfig) throws ClusteringFault
command - The StateClusteringCommand which is used for replicating stateaxisConfig - The AxisConfigurationClusteringFault - If replication failspublic static void replicate(MessageContext msgContext) throws ClusteringFault
msgContext - The MessageContext associated with the ServiceContext,
ServiceGroupContext and ConfigurationContext to be replicatedClusteringFault - If replication failspublic static void replicate(AbstractContext abstractContext) throws ClusteringFault
abstractContext.abstractContext - The AbstractContext which holds the properties to be replicatedClusteringFault - If replication failspublic static void replicate(AbstractContext abstractContext, java.lang.String[] propertyNames) throws ClusteringFault
propertyNames
in the specified abstractContextabstractContext - The context to be replicatedpropertyNames - The names of the properties to be replicatedClusteringFault - IF replication failsCopyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.