|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.arooa.registry.Address
public class Address
A address uniquely identifies a component by its server and path.
Constructor Summary | |
---|---|
Address(Path path)
Create a local address. |
|
Address(ServerId serverId,
Path path)
Create an address of an object on a server. |
Method Summary | |
---|---|
static String |
arrayAsString(Address[] addresses)
Utility function for debugs. |
boolean |
equals(Object obj)
|
Path |
getPath()
Get the path. |
ServerId |
getServerId()
Get the ServerId. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Address(Path path)
path
- The path to the component.public Address(ServerId serverId, Path path)
serverId
- The server id.path
- The path.Method Detail |
---|
public Path getPath()
public ServerId getServerId()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public static String arrayAsString(Address[] addresses)
addresses
- Array of address.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |