|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkaos.cougaar.clik.util.CougaarServiceRoot
public class CougaarServiceRoot
| Field Summary | |
|---|---|
BlackboardService |
_blackboardService
|
java.lang.String |
_rootType
|
ServiceBroker |
_sb
|
TransactionLock |
_transactionLock
|
static java.lang.String |
DOMAIN_MANAGER_LOCATOR
|
static java.lang.String |
DOMAIN_MANAGER_NICKNAME
|
| Fields inherited from interface kaos.core.service.KAoSServiceRoot |
|---|
DIRECTORY_SERVICE_ROOT, ENTITY_ROOT |
| Constructor Summary | |
|---|---|
CougaarServiceRoot(ServiceBroker sb,
BlackboardService blackboardService,
TransactionLock transactionLock,
JasBean entityInfo)
|
|
| Method Summary | |
|---|---|
AgentDirectoryService |
getAgentDirectoryService()
Allows getter access to the well known directory service. |
AgentNamingService |
getAgentNamingService()
Allows getter access to the well known naming service. |
MessageTransportService |
getPreferredMessageTransportService()
Obtain the preferred MessageTransportService. |
java.lang.String |
getRootType()
|
Service |
getService(java.lang.String type)
Allows access to the specified service type. |
TransportSystem |
getTransportSystem()
Allows getter access to the well known transport system. |
KAoSEntityDescription |
setLocatorForDescription(KAoSEntityDescription desc,
Locator locator)
This method is defined to avoid the java.io.NotSerializableException while serializing the KAoSEntityDescription in the kaos.core.util.Msg. |
void |
setRootType(java.lang.String type)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DOMAIN_MANAGER_LOCATOR
public static final java.lang.String DOMAIN_MANAGER_NICKNAME
public java.lang.String _rootType
public BlackboardService _blackboardService
public TransactionLock _transactionLock
public ServiceBroker _sb
| Constructor Detail |
|---|
public CougaarServiceRoot(ServiceBroker sb,
BlackboardService blackboardService,
TransactionLock transactionLock,
JasBean entityInfo)
entityInfo - optional (null is OK)
JasBean containing the following information
needed for obtaining the AgentDirectoryService
DOMAIN_MANAGER_LOCATOR locator for the domain manager (required)
DOMAIN_MANAGER_NICKNAME nickname for the domain manager (optional)
whatever else is needed for CougaarMTS.newLocalLocator(entityInfo)| Method Detail |
|---|
public AgentDirectoryService getAgentDirectoryService()
AgentDirectoryServicepublic MessageTransportService getPreferredMessageTransportService()
KAoSServiceRoot
getPreferredMessageTransportService in interface KAoSServiceRoot
public KAoSEntityDescription setLocatorForDescription(KAoSEntityDescription desc,
Locator locator)
KAoSServiceRoot
setLocatorForDescription in interface KAoSServiceRootpublic AgentNamingService getAgentNamingService()
AgentNamingServicepublic TransportSystem getTransportSystem()
TransportSystempublic Service getService(java.lang.String type)
type - specifies a Service.
public java.lang.String getRootType()
getRootType in interface KAoSServiceRootpublic void setRootType(java.lang.String type)
setRootType in interface KAoSServiceRoot
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||