com.ibm.websphere.management.configservice.tasks

Class ServerClusterTasks

  1. java.lang.Object
  2. extended bycom.ibm.websphere.management.configservice.tasks.ServerClusterTasks

  1. public class ServerClusterTasks
  2. extends java.lang.Object
This class defines tasks that related to cluster configuration.

Constructor Summary

Constructor and Description
ServerClusterTasks(ConfigService configService)

Method Summary

Modifier and Type Method and Description
  1. javax.management.ObjectName
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.
  1. javax.management.ObjectName
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

  1. public ServerClusterTasks(ConfigService configService)

Method Detail

createClusterMember

  1. public javax.management.ObjectName createClusterMember( Session session,
  2. javax.management.ObjectName serverCluster,
  3. javax.management.AttributeList clusterMemberAttrList,
  4. javax.management.ObjectName node,
  5. javax.management.ObjectName serverTemplate)
  6. throws ConfigServiceException
  7. ConnectorException
Creates a new ClusterMember config data and add it into a ServerCluster.
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

  1. public javax.management.ObjectName convertToCluster( Session session,
  2. javax.management.ObjectName server,
  3. java.lang.String clusterName)
  4. throws ConfigServiceException
  5. 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: