kaos.core.service.util
Class DefaultKAoSLocator
java.lang.Object
AcrLocator
kaos.core.service.util.DefaultKAoSLocator
- All Implemented Interfaces:
- KAoSLocator
- Direct Known Subclasses:
- CorbaLocator, CougaarLocator, KAoSGridLocator, TCPLocator
public class DefaultKAoSLocator
- extends AcrLocator
- implements KAoSLocator
Defines the operations to set and get a specific transport type used
in KAoS communications.
Method Summary |
java.lang.String |
getTransportName()
|
java.lang.String |
getTransportType()
Get the transport type property. |
void |
setTransportName(java.lang.String name)
Set the name of the transport name this locator is associated with. |
void |
setTransportType(java.lang.String type)
Set the transport type property used in all KAoS transport Locators. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultKAoSLocator
public DefaultKAoSLocator()
getTransportType
public java.lang.String getTransportType()
- Get the transport type property.
- Specified by:
getTransportType
in interface KAoSLocator
- Returns:
- String containing the type ofthe transport this Locator encapsulates.
setTransportType
public void setTransportType(java.lang.String type)
- Set the transport type property used in all KAoS transport Locators.
- Specified by:
setTransportType
in interface KAoSLocator
- Parameters:
type
- The type of the transport this Locator represents.
getTransportName
public java.lang.String getTransportName()
- Specified by:
getTransportName
in interface KAoSLocator
- Returns:
- String representing the name of transport the locator describes.
This name is used within KAoS and it is defined by transport constants
in KAoSBootstrapper.
setTransportName
public void setTransportName(java.lang.String name)
- Set the name of the transport name this locator is associated with.
This name is used within KAoS and it is defined by transport constants
in KAoSBootstrapper.
- Specified by:
setTransportName
in interface KAoSLocator
- Parameters:
name
- The type of transport this locator describes.