kaos.core.service.boot
Class KAoSBootstrapper

java.lang.Object
  extended by kaos.core.service.boot.KAoSBootstrapper

public final class KAoSBootstrapper
extends java.lang.Object

$Revision: 1.23 $


Field Summary
static java.lang.String COABSGRID_TRANSPORT
           
static java.lang.String CORBA_TRANSPORT
           
protected static java.lang.String[] SUPPORTED_TRANSPORTS
           
static java.lang.String TCP_TRANSPORT
           
 
Method Summary
static InstanceClassifierFactory getInstanceClassifierFactory()
           
static KAoSAgentDirectoryServiceProxy getKAoSDirectoryProxyForTransport(java.lang.String transport)
           
static KAoSServiceRoot getKAoSServiceRootForTransport(java.lang.String transport)
           
static DomainManagerEventListener instantiateDomainManagerEventListener(DomainDirectoryService directory, java.lang.String transportName)
           
static Guard instantiateGuard(java.lang.String transport, java.util.Vector domainNames)
           
static Guard instantiateGuard(java.lang.String transport, java.util.Vector domainNames, KAoSServiceRoot sr)
           
static KAoSAgent instantiateKAoSAgent(JasBean agentInitInfo, java.lang.String agentClassName, java.util.Vector domainNames, java.lang.String nickname, boolean guarded, boolean useNicknameAsGuid, java.lang.String transport)
           
static KAoSAgentHelper instantiateKAoSAgentHelper(JasBean agentInitInfo, MessageListener listener, java.util.Vector domainNames, java.lang.String nickname, boolean guarded, java.lang.String transport)
          Instantiate a KAoSAgentHelper using the specified configuration parameters.
static boolean isTransportSupported(java.lang.String name)
           
protected static void printDebugString(java.lang.String msg, int loggerDisplayLevel)
          A utility method to print a String.
static java.util.List supportedTransports()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TCP_TRANSPORT

public static final java.lang.String TCP_TRANSPORT
See Also:
Constant Field Values

CORBA_TRANSPORT

public static final java.lang.String CORBA_TRANSPORT
See Also:
Constant Field Values

COABSGRID_TRANSPORT

public static final java.lang.String COABSGRID_TRANSPORT
See Also:
Constant Field Values

SUPPORTED_TRANSPORTS

protected static final java.lang.String[] SUPPORTED_TRANSPORTS
Method Detail

isTransportSupported

public static boolean isTransportSupported(java.lang.String name)

supportedTransports

public static java.util.List supportedTransports()

instantiateKAoSAgent

public static KAoSAgent instantiateKAoSAgent(JasBean agentInitInfo,
                                             java.lang.String agentClassName,
                                             java.util.Vector domainNames,
                                             java.lang.String nickname,
                                             boolean guarded,
                                             boolean useNicknameAsGuid,
                                             java.lang.String transport)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

instantiateKAoSAgentHelper

public static KAoSAgentHelper instantiateKAoSAgentHelper(JasBean agentInitInfo,
                                                         MessageListener listener,
                                                         java.util.Vector domainNames,
                                                         java.lang.String nickname,
                                                         boolean guarded,
                                                         java.lang.String transport)
                                                  throws java.lang.Exception
Instantiate a KAoSAgentHelper using the specified configuration parameters.

Throws:
java.lang.Exception

getKAoSServiceRootForTransport

public static KAoSServiceRoot getKAoSServiceRootForTransport(java.lang.String transport)
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

getKAoSDirectoryProxyForTransport

public static KAoSAgentDirectoryServiceProxy getKAoSDirectoryProxyForTransport(java.lang.String transport)
                                                                        throws java.lang.Exception
Throws:
java.lang.Exception

instantiateDomainManagerEventListener

public static DomainManagerEventListener instantiateDomainManagerEventListener(DomainDirectoryService directory,
                                                                               java.lang.String transportName)

getInstanceClassifierFactory

public static InstanceClassifierFactory getInstanceClassifierFactory()

instantiateGuard

public static Guard instantiateGuard(java.lang.String transport,
                                     java.util.Vector domainNames)
                              throws GuardInstantiationException
Throws:
GuardInstantiationException

instantiateGuard

public static Guard instantiateGuard(java.lang.String transport,
                                     java.util.Vector domainNames,
                                     KAoSServiceRoot sr)
                              throws GuardInstantiationException
Throws:
GuardInstantiationException

printDebugString

protected static void printDebugString(java.lang.String msg,
                                       int loggerDisplayLevel)
A utility method to print a String. Add the name of the class printing the String.

Parameters:
msg - The String to be printed.