|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XQResourceAdapter
Users must provide an implementation of XQResourceAdapter for any EIS that they wish to asynchronously receive messages from. The application server will call start on the adapter when it is first referenced as an entry. All calls to subscribe will result from the configuration of a listener on an entry endpoint of the defined type. This interface is an interim solution until JCA 1.5 is released. Upon release, these interfaces will be deprecated and replaced with the apporiate javax.resource defined interfaces.
Method Summary | |
---|---|
void |
start()
called when the adapter is first referenced |
void |
stop()
called when the adapter is being removed from the system |
void |
subscribe(XQMessageListenerFactory mlf,
java.util.Map subscriptionSpec)
add a subscription for the particular factory for messages that conform to the subscriptionSpec |
void |
unsubscribe(XQMessageListenerFactory mlf,
java.util.Map subscriptionSpec)
removes the factory from the subscribers |
Method Detail |
---|
void start()
void stop()
void subscribe(XQMessageListenerFactory mlf, java.util.Map subscriptionSpec) throws NotSupportedException
mlf
- the factory to subscribesubscriptionSpec
- the RA specific propertied describing the subscription
NotSupportedException
- thrown when the RA cannot accept subscriptionsvoid unsubscribe(XQMessageListenerFactory mlf, java.util.Map subscriptionSpec)
mlf
- the factory to unsubscribesubscriptionSpec
- the properties of the subscription
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |