|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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. |
|
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 | |
---|---|
EPR |
copy()
Return a copy of this EPR. |
boolean |
equals(java.lang.Object obj)
|
PortReference |
getAddr()
Get the EPR address. |
java.net.URI |
getURI()
Get the URI address. |
void |
setAddr(PortReference uri)
Override the address of this EPR. |
void |
setURI(java.net.URI uri)
Set the URI for this endpoint. |
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.public EPR(EPR from)
from
- Method Detail |
---|
public void setAddr(PortReference uri)
uri
- the new address.public void setURI(java.net.URI uri)
uri
- the address.public java.net.URI getURI() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if the address is invalid.public PortReference getAddr()
public EPR 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 |