Package org.oddjob.arooa.registry
Class Address
java.lang.Object
org.oddjob.arooa.registry.Address
- All Implemented Interfaces:
Serializable
A address uniquely identifies a component by its server
and path.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Address
Create a local address.- Parameters:
path- The path to the component.
-
Address
Create an address of an object on a server.- Parameters:
serverId- The server id.path- The path.
-
-
Method Details
-
getPath
Get the path.- Returns:
- The path.
-
getServerId
Get the ServerId.- Returns:
- The ServerId.
-
equals
-
hashCode
public int hashCode() -
toString
-
arrayAsString
Utility function for debugs.- Parameters:
addresses- Array of address.- Returns:
- A string.
-