com.platform.ego.impl
Class ClusterFactory

java.lang.Object
  extended by com.platform.ego.impl.ClusterFactory

public class ClusterFactory
extends java.lang.Object

This class generates Cluster object. An instance is used by the Java Application runtime in order to obtain cluster.

Version:
1.2.3

Constructor Summary
ClusterFactory()
           
 
Method Summary
static Cluster createCluster(java.lang.String url)
          Creates an instance of Cluster object for use.
static Cluster createCluster(java.lang.String url, int timeout)
          Creates an instance of Cluster object for use.
static Cluster createCluster(java.net.URL url)
          Creates an instance of Cluster object for use.
static Cluster createCluster(java.net.URL url, int timeout)
          Creates an instance of Cluster object for use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterFactory

public ClusterFactory()
Method Detail

createCluster

public static Cluster createCluster(java.lang.String url)
                             throws EGOException
Creates an instance of Cluster object for use. We use cluster object to create a client object.

Parameters:
url - the url of WSG Server, for example http://172.17.1.25:60005
Returns:
an instance of Cluster object
Throws:
EGOException

createCluster

public static Cluster createCluster(java.lang.String url,
                                    int timeout)
                             throws EGOException
Creates an instance of Cluster object for use. We use cluster object to create a client object.

Parameters:
url - the url of WSG Server, for example http://1.2.37.1.25:60005
timeout - set timeout
Returns:
an instance of Cluster object
Throws:
EGOException

createCluster

public static Cluster createCluster(java.net.URL url)
                             throws EGOException
Creates an instance of Cluster object for use. We use cluster object to create a client object.

Parameters:
url - the url of WSG Server.
Returns:
an instance of Cluster object
Throws:
EGOException

createCluster

public static Cluster createCluster(java.net.URL url,
                                    int timeout)
                             throws EGOException
Creates an instance of Cluster object for use. We use cluster object to create a client object.

Parameters:
url - the url of WSG Server.
timeout - set timeout
Returns:
an instance of Cluster object
Throws:
EGOException


Copyright (C) 1992-2007 Platform Computing Corporation