kaos.core.csi
Class CSIFactory

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

public class CSIFactory
extends java.lang.Object

This class provides access to specific KAoS services offered by the KAoS Common Services Interface $Revision: 1.45 $


Field Summary
static java.lang.String COABSGRID_TRANSPORT
           
static java.lang.String CORBA_TRANSPORT
           
protected static java.lang.String currentTransportName
           
static java.lang.String[] SUPPORTED_TRANSPORTS
           
static java.lang.String TCP_TRANSPORT
           
 
Constructor Summary
CSIFactory()
           
 
Method Summary
static InstanceClassifierManager getClassifierManagement()
          Retrieve a reference to the ClassifierManagement
static java.lang.String getCurrentTransport()
           
static EventHistoryComponent getHistoryMonitor()
          Retrieve a reference to the EventHistoryComponent.
static KAoSExtensionComponent getKAoSExtensionComponent(java.lang.String repType, java.lang.String associatedOntType)
          Retrieve a reference to a KAoSExtensionComponent loaded in the guard
static KAoSExtensionComponentManager getKAoSExtensionComponentManager(java.lang.String serviceMgrName)
          Retrieve a reference to a KAoSExtensionComponentManager, whose service name is specified
static ObserverManager getObserverManager()
          Retrieve a reference to the ObserverManager.
static OntologyService getOntologyService()
          Retrieve a reference to the OntologyService.
static PolicyAdvice getPolicyAdvice()
          Retrieve a reference to the PolicyAdvice.
static PolicyChecking getPolicyChecking()
          Retrieve a reference to the PolicyChecking.
static EnforcerManager getPolicyEnforcement()
          Retrieve a reference to the PolicyEnforcement.
static PolicyManagement getPolicyManagement()
          Retrieve a reference to the PolicyManagement.
static QueryRegistration getQueryRegistration()
          Retrieve a reference to the QueryRegistration.
static QueryState getQueryState()
          Retrieve a reference to the QueryState.
static Registration getRegistration()
          Retrieve a reference to the Registration.
static RequestManager getRequestManager()
          Retrieve a reference to the RequestManager.
static kaos.spatial.SpatialReasoner getSpatialReasoner()
          Retrieve a reference to the SpatialReasoner.
static StateMonitor getStateMonitor(java.lang.String associatedOntType)
          Retrieve a reference to the StateMonitor
static TransportSupport getTransportSupport()
          Retrieve a reference to the Registration.
static kaos.core.csi.util.xmlSupport.XMLToCSILink getXMLToCSILink(java.lang.String dsTransport)
          Retrieve a reference to the XMLToCSILink.
static void setCurrentTransport(java.lang.String currentTransportName)
           
 
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

public static final java.lang.String[] SUPPORTED_TRANSPORTS

currentTransportName

protected static java.lang.String currentTransportName
Constructor Detail

CSIFactory

public CSIFactory()
Method Detail

getCurrentTransport

public static java.lang.String getCurrentTransport()
Returns:
Returns the currentTransportName.

setCurrentTransport

public static void setCurrentTransport(java.lang.String currentTransportName)
Parameters:
currentTransportName - - the currentTransportName to set.

getTransportSupport

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

Returns:
a reference to the Registration

getObserverManager

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

Returns:
a reference to the ObserverManager Service
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 Service
Throws:
java.lang.Exception

getQueryRegistration

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

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

getQueryState

public static QueryState getQueryState()
                                throws java.lang.Exception
Retrieve a reference to the QueryState.

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

getRequestManager

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

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

getOntologyService

public static OntologyService getOntologyService()
                                          throws java.lang.Exception
Retrieve a reference to the OntologyService.

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

getPolicyManagement

public static PolicyManagement getPolicyManagement()
                                            throws java.lang.Exception
Retrieve a reference to the PolicyManagement.

Returns:
a reference to the PolicyManagement
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

getPolicyAdvice

public static PolicyAdvice getPolicyAdvice()
                                    throws java.lang.Exception
Retrieve a reference to the PolicyAdvice.

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

getKAoSExtensionComponentManager

public static KAoSExtensionComponentManager getKAoSExtensionComponentManager(java.lang.String serviceMgrName)
                                                                      throws java.lang.Exception
Retrieve a reference to a KAoSExtensionComponentManager, whose service name is specified

Parameters:
serviceMgrName - String containing the name as specified in the guardConfiguration file, at the beginning of the section describing the service, ex. stateMonitor-service
Returns:
a reference to the KAoSExtensionComponentManager, or null if a KAoSExtensionComponentManager for the given service does not exist.
Throws:
java.lang.Exception

getKAoSExtensionComponent

public static KAoSExtensionComponent getKAoSExtensionComponent(java.lang.String repType,
                                                               java.lang.String associatedOntType)
                                                        throws java.lang.Exception
Retrieve a reference to a KAoSExtensionComponent loaded in the guard

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

getPolicyEnforcement

public static EnforcerManager getPolicyEnforcement()
                                            throws java.lang.Exception
Retrieve a reference to the PolicyEnforcement.

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

getClassifierManagement

public static InstanceClassifierManager getClassifierManagement()
Retrieve a reference to the ClassifierManagement

Returns:
a reference to the PolicyEnforcement

getHistoryMonitor

public static EventHistoryComponent getHistoryMonitor()
                                               throws java.lang.Exception
Retrieve a reference to the EventHistoryComponent.

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

getStateMonitor

public static StateMonitor getStateMonitor(java.lang.String associatedOntType)
                                    throws java.lang.Exception
Retrieve a reference to the StateMonitor

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

getSpatialReasoner

public static kaos.spatial.SpatialReasoner getSpatialReasoner()
                                                       throws java.lang.Exception
Retrieve a reference to the SpatialReasoner.

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

getXMLToCSILink

public static kaos.core.csi.util.xmlSupport.XMLToCSILink getXMLToCSILink(java.lang.String dsTransport)
                                                                  throws java.lang.Exception
Retrieve a reference to the XMLToCSILink.

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


Copyright © 2006 IHMC All Rights Reserved.