|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.couriers.CourierFactory
public class CourierFactory
| Constructor Summary | |
|---|---|
CourierFactory()
|
|
| Method Summary | |
|---|---|
static void |
deregisterCourier(TwoWayCourier courier)
Deregister the courier from the current set. |
static void |
destroyLifecycleIdentityMap(java.lang.String lifecycleIdentity)
Destroy the association for the current lifecycle identify. |
static Courier |
getCourier(EPR toEPR)
Obtain a courier which can perform deliveries only and prime it with the "to address" (toEPR). |
static TwoWayCourier |
getCourier(EPR toEPR,
EPR replyToEPR)
Obtain a courier which can perform both deliveries and pickups and prime it with the "to address" (toEPR) and the "replyTo address" (replyToEPR). |
static TwoWayCourier |
getPickupCourier(EPR replyToEPR)
Obtain a courier which can perform pickups only and prime it with the "to address" (toEPR) and the "replyTo address" (replyToEPR). |
static void |
initialiseLifecycleIdentityMap(java.lang.String lifecycleIdentity)
Initialise the association for the current lifecycle identify. |
static void |
releaseCouriers()
Release all couriers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CourierFactory()
| Method Detail |
|---|
public static Courier getCourier(EPR toEPR)
throws CourierException,
MalformedEPRException
toEPR - - the 'to address', the address on where to deliver a Message.
CourierException - if the specific courier implementation cannot be created.
MalformedEPRException
public static TwoWayCourier getPickupCourier(EPR replyToEPR)
throws CourierException,
MalformedEPRException
toEPR - - the 'to address', the address on where to deliver a Message.
CourierException - if the specific courier implementation cannot be created.
MalformedEPRException
public static TwoWayCourier getCourier(EPR toEPR,
EPR replyToEPR)
throws CourierException,
MalformedEPRException
toEPR - - the 'to address', the address on where to deliver a Message.
CourierException - if the specific courier implementation cannot be created.
MalformedEPRExceptionpublic static void initialiseLifecycleIdentityMap(java.lang.String lifecycleIdentity)
lifecycleIdentity - The lifecycle identiy.public static void destroyLifecycleIdentityMap(java.lang.String lifecycleIdentity)
lifecycleIdentity - The lifecycle identiy.public static void deregisterCourier(TwoWayCourier courier)
courier - The current courier.public static void releaseCouriers()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||