FileDocCategorySizeDatePackage
IIOPCluster.javaAPI DocGlassfish v2 API3322Fri May 04 22:35:04 BST 2007com.sun.enterprise.tools.upgrade.cluster

IIOPCluster

public class IIOPCluster extends Object
author
prakash

Fields Summary
private String
clusterName
private List
iiopServerInstanceList
private IIOPServerInstance
currentServerInstance
Constructors Summary
public IIOPCluster(String clName)
Creates a new instance of IIOPCluster

        this.clusterName = clName;
    
Methods Summary
public voidaddIIOPEndPoint(java.lang.String id, java.lang.String host, java.lang.String port)

        this.currentServerInstance.addIIOPEndPoint(id,host,port);
    
public voidaddIIOPServerInstance(java.lang.String serverName)

        IIOPServerInstance serverInstance = new IIOPServerInstance(serverName);
        this.currentServerInstance = serverInstance;
        if(this.iiopServerInstanceList == null)
            this.iiopServerInstanceList = new ArrayList();
        this.iiopServerInstanceList.add(serverInstance);
    
public java.lang.StringgetClusterName()

        return this.clusterName;
    
public java.util.ListgetIIOPServerInstanceList()

        return this.iiopServerInstanceList;
    
public voidsetClusterName(java.lang.String clName)

        this.clusterName = clName;