org.jboss.soa.esb.addressing.eprs
Class LogicalEPR

java.lang.Object
  extended by org.jboss.soa.esb.addressing.EPR
      extended by org.jboss.soa.esb.addressing.eprs.LogicalEPR

public class LogicalEPR
extends EPR

Logical EPR.

Logical EPRs allow services to be addressed by their "logical" (Vs physical) name.

Author:
tom.fennelly@jboss.com

Constructor Summary
LogicalEPR()
           
LogicalEPR(PortReference addr)
           
LogicalEPR(java.lang.String serviceCategory, java.lang.String serviceName)
           
LogicalEPR(java.net.URI uri)
           
 
Method Summary
 ServiceInvoker getServiceInvoker()
           
 void setAddr(PortReference addr)
          Override the address of this EPR.
 Service toService()
           
static java.net.URI type()
           
 
Methods inherited from class org.jboss.soa.esb.addressing.EPR
copy, equals, getAddr, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogicalEPR

public LogicalEPR()

LogicalEPR

public LogicalEPR(PortReference addr)

LogicalEPR

public LogicalEPR(java.net.URI uri)

LogicalEPR

public LogicalEPR(java.lang.String serviceCategory,
                  java.lang.String serviceName)
Method Detail

setAddr

public void setAddr(PortReference addr)
Description copied from class: EPR
Override the address of this EPR.

Overrides:
setAddr in class EPR
Parameters:
addr - the new address.

toService

public Service toService()

getServiceInvoker

public ServiceInvoker getServiceInvoker()
                                 throws MessageDeliverException
Throws:
MessageDeliverException

type

public static java.net.URI type()