|
|||||||||
| 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 | |
|---|---|
protected |
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 CourierFactory |
getInstance()
Get the CourierFactory method. |
TwoWayCourier |
getMessageCourier(EPR toEPR)
Obtain a courier which can perform deliveries only and prime it with the "to address" (toEPR). |
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. |
protected static void |
setInstance(CourierFactory instance)
Set the CourierFactory method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CourierFactory()
| Method Detail |
|---|
public static CourierFactory getInstance()
protected static void setInstance(CourierFactory instance)
instance - New factory instance.
public TwoWayCourier getMessageCourier(EPR toEPR)
throws CourierException,
MalformedEPRException
toEPR - - the 'to address', the address on where to deliverAsync a Message.
CourierException - if the specific courier implementation cannot be created.
MalformedEPRException
public static Courier getCourier(EPR toEPR)
throws CourierException,
MalformedEPRException
toEPR - - the 'to address', the address on where to deliverAsync a Message.
CourierException - if the specific courier implementation cannot be created.
MalformedEPRException
public static TwoWayCourier getPickupCourier(EPR replyToEPR)
throws CourierException,
MalformedEPRException
replyToEPR - - the 'replyTo address', the address where to deliverAsync the Message we pickup.
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 deliverAsync a Message.replyToEPR - - the 'replyTo address', the address where to deliverAsync the Message we pickup.
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 | ||||||||