public class ComponentIdentifier extends BasicComponentIdentifier implements ITransportComponentIdentifier
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
addresses
Attribute for slot addresses.
|
name
EMPTY_COMPONENTIDENTIFIERS, LOCAL, RESULTCID
Constructor and Description |
---|
ComponentIdentifier()
Create a new component identifier.
|
ComponentIdentifier(java.lang.String name)
Create a new component identifier with a given global name.
|
ComponentIdentifier(java.lang.String name,
ITransportComponentIdentifier parent)
Create component identifier.
|
ComponentIdentifier(java.lang.String name,
ITransportComponentIdentifier parent,
java.lang.String[] addresses)
Create component identifier.
|
ComponentIdentifier(java.lang.String name,
java.lang.String[] addresses)
Create a new component identifier with a global name and given addresses.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone this component identifier.
|
java.lang.String[] |
getAddresses()
Get the addresses of this ComponentIdentifier.
|
IComponentIdentifier |
getParent()
Get the parent identifier.
|
IComponentIdentifier |
getRoot()
Get the root identifier.
|
static IFuture<ITransportComponentIdentifier> |
getTransportIdentifier(IExternalAccess exta)
Convenience method.
|
void |
setAddresses(java.lang.String[] addresses)
Set the addresses of this ComponentIdentifier.
|
equals, getLocalName, getName, getPlatformName, getPlatformPrefix, getPlatformPrefix, hashCode, setName, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getLocalName, getName, getPlatformName, getPlatformPrefix
public ComponentIdentifier()
public ComponentIdentifier(java.lang.String name)
name
- A global name (e.g. "cms@lars").public ComponentIdentifier(java.lang.String name, java.lang.String[] addresses)
name
- A global name (e.g. "cms@lars").addresses
- A list of transport addresses.public ComponentIdentifier(java.lang.String name, ITransportComponentIdentifier parent)
name
- The local name.parent
- The parent.addresses
- The addresses.public ComponentIdentifier(java.lang.String name, ITransportComponentIdentifier parent, java.lang.String[] addresses)
name
- The local name.parent
- The parent.addresses
- The addresses.public java.lang.String[] getAddresses()
getAddresses
in interface ITransportComponentIdentifier
public void setAddresses(java.lang.String[] addresses)
addresses
- the value to be setpublic IComponentIdentifier getParent()
getParent
in interface IComponentIdentifier
getParent
in class BasicComponentIdentifier
public IComponentIdentifier getRoot()
getRoot
in interface IComponentIdentifier
getRoot
in class BasicComponentIdentifier
public java.lang.Object clone()
clone
in class BasicComponentIdentifier
public static IFuture<ITransportComponentIdentifier> getTransportIdentifier(IExternalAccess exta)