public final class Replicator extends 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,
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
|
public 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, String[] propertyNames) throws ClusteringFault
propertyNames
in the specified abstractContext
abstractContext
- The context to be replicatedpropertyNames
- The names of the properties to be replicatedClusteringFault
- IF replication failsCopyright © 2004–2014 The Apache Software Foundation. All rights reserved.