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
    This class defines tasks that related to cluster configuration.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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.
      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

        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
        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:
        ConfigServiceException
        ConnectorException
      • 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:
        ConfigServiceException
        ConnectorException
IBM WebSphere Application ServerTM
Release 8.5