kaos.core.csi
Class CSIFactory

java.lang.Object
  extended by kaos.core.csi.CSIFactory

public class CSIFactory
extends java.lang.Object

This class generates a unique ID for its VM. $Revision: 1.12 $


Constructor Summary
CSIFactory()
           
 
Method Summary
static Command getCommand(java.lang.String transportName)
          Retrieve a reference to the Command.
static Command getCommand(java.lang.String transportName, java.lang.String nickName)
          Retrieve a reference to the Command.
static ObserverManager getObserverManager(java.lang.String transportName)
          Retrieve a reference to the ObserverManager.
static ObserverManager getObserverManager(java.lang.String transportName, java.lang.String nickName)
          Retrieve a reference to the ObserverManager.
static PolicyChecking getPolicyChecking()
          Retrieve a reference to the PolicyChecking.
static PolicyChecking getPolicyChecking(java.lang.String transportName)
          Retrieve a reference to the PolicyChecking.
static QueryRegistration getQueryRegistration(java.lang.String transportName)
          Retrieve a reference to the QueryRegistration.
static Registration getRegistration()
          Retrieve a reference to the Registration.
static Registration getRegistration(java.lang.String transportName)
          Retrieve a reference to the Registration.
static RequestManager getRequestManager(java.lang.String transportName)
          Retrieve a reference to the RequestManager.
static TransportSupport getTransportSupport()
          Retrieve a reference to the Registration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSIFactory

public CSIFactory()
Method Detail

getCommand

public static Command getCommand(java.lang.String transportName)
                          throws java.lang.Exception
Retrieve a reference to the Command.

Returns:
a reference to the Command
Throws:
java.lang.Exception

getCommand

public static Command getCommand(java.lang.String transportName,
                                 java.lang.String nickName)
                          throws java.lang.Exception
Retrieve a reference to the Command.

Parameters:
transportName - is a String containing the name of the transport to use by the Command.
nickName - is a String containing the nick name of the Command that may be used by certain transport implementations, or null if not required by the transport.
Returns:
a reference to the Command
Throws:
java.lang.Exception

getObserverManager

public static ObserverManager getObserverManager(java.lang.String transportName)
                                          throws java.lang.Exception
Retrieve a reference to the ObserverManager.

Returns:
a reference to the ObserverManager
Throws:
java.lang.Exception

getObserverManager

public static ObserverManager getObserverManager(java.lang.String transportName,
                                                 java.lang.String nickName)
                                          throws java.lang.Exception
Retrieve a reference to the ObserverManager.

Parameters:
transportName - is a String containing the name of the transport to use by the Command.
nickName - is a String containing the nick name of the Command that may be used by certain transport implementations, or null if not required by the transport.
Returns:
a reference to the ObserverManager
Throws:
java.lang.Exception

getRegistration

public static Registration getRegistration(java.lang.String transportName)
                                    throws java.lang.Exception
Retrieve a reference to the Registration.

Returns:
a reference to the Registration
Throws:
java.lang.Exception

getRegistration

public static Registration getRegistration()
                                    throws java.lang.Exception
Retrieve a reference to the Registration.

Returns:
a reference to the Registration
Throws:
java.lang.Exception

getPolicyChecking

public static PolicyChecking getPolicyChecking(java.lang.String transportName)
                                        throws java.lang.Exception
Retrieve a reference to the PolicyChecking.

Returns:
a reference to the PolicyChecking
Throws:
java.lang.Exception

getPolicyChecking

public static PolicyChecking getPolicyChecking()
                                        throws java.lang.Exception
Retrieve a reference to the PolicyChecking.

Returns:
a reference to the PolicyChecking
Throws:
java.lang.Exception

getQueryRegistration

public static QueryRegistration getQueryRegistration(java.lang.String transportName)
                                              throws java.lang.Exception
Retrieve a reference to the QueryRegistration.

Returns:
a reference to the QueryRegistration.
Throws:
java.lang.Exception

getTransportSupport

public static TransportSupport getTransportSupport()
Retrieve a reference to the Registration.

Returns:
a reference to the Registration

getRequestManager

public static RequestManager getRequestManager(java.lang.String transportName)
                                        throws java.lang.Exception
Retrieve a reference to the RequestManager.

Returns:
a reference to the RequestManager
Throws:
java.lang.Exception