com.ibm.websphere.management.configservice.tasks
Class ServerClusterTasks
- java.lang.Object
com.ibm.websphere.management.configservice.tasks.ServerClusterTasks
- public class ServerClusterTasks
- extends java.lang.Object
Constructor Summary
| Constructor and Description |
|---|
ServerClusterTasks(ConfigService configService)
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
convertToCluster(Session session,javax.management.ObjectName server,java.lang.String clusterName)
Creates a new
ServerCluster and converts the specified Server to a
ClusterMember of created ServerCluster.
|
|
createClusterMember(Session session,javax.management.ObjectName serverCluster,javax.management.AttributeList clusterMemberAttrList,javax.management.ObjectName node,javax.management.ObjectName serverTemplate)
Creates a new
ClusterMember config data and add it into a ServerCluster.
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
ServerClusterTasks
- public ServerClusterTasks(ConfigService configService)
Method Detail
createClusterMember
- public javax.management.ObjectName createClusterMember( Session session,
- javax.management.ObjectName serverCluster,
- javax.management.AttributeList clusterMemberAttrList,
- javax.management.ObjectName node,
- javax.management.ObjectName serverTemplate)
- throws ConfigServiceException
- ConnectorException
Parameters:
session - session id. serverCluster - the ObjectName of a ServerCluster. clusterMemberAttrList - an attribute list that defines the new cluster member. node - the ObjectName of node where the created ClusterMember config data resides. serverTemplate - a Server template for the created ClusterMember. If null is supplied,
default Server template is used for the server. Throws:
convertToCluster
- public javax.management.ObjectName convertToCluster( Session session,
- javax.management.ObjectName server,
- java.lang.String clusterName)
- throws ConfigServiceException
- ConnectorException
Creates a new
ServerCluster and converts the specified Server to a
ClusterMember of created ServerCluster. If the specified Server is a member of existing ServerCluster,
a ConfigServiceException will be thrown.
Parameters:
session - a session id. server - ObjectName of a Server.. clusterName - the name of created ServerCluster. Returns:
the ObjectName of the created
ServerCluster config data. Throws:
ClusterMemberconfig data and add it into aServerCluster.