|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.soa.esb.addressing.EPR
public class EPR
The Endpoint Reference class. All services (and clients) can be represented by an EPR, which is effectively an address. If using SOA principles then the ultimate recipient of the message should be addressed in a loosely-coupled manner: the service should multiplex/demultiplex work across "objects" based on the message content and the EPR should not address a specific "object".
Constructor Summary | |
---|---|
|
EPR()
Create a new Endpoint Reference with a null address. |
protected |
EPR(EPR from)
Copy constructor. |
|
EPR(PortReference addr)
Create a new Endpoint Reference with the specified address. |
|
EPR(java.net.URI uri)
Create a new Endpoint Reference with the specified address. |
Method Summary | |
---|---|
void |
copy(EPR from)
Deprecated. use the copy constructor instead. |
boolean |
equals(java.lang.Object obj)
|
PortReference |
getAddr()
Get the EPR address. |
void |
setAddr(PortReference uri)
Override the address of this EPR. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EPR()
public EPR(PortReference addr)
addr
- the specified address.public EPR(java.net.URI uri)
uri
- the specified address.protected EPR(EPR from)
from
- Method Detail |
---|
public void setAddr(PortReference uri)
uri
- the new address.public PortReference getAddr()
public void copy(EPR from)
from
- the instance to copy.public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |