|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.ejb.message.JmsResourceAdapter
public class JmsResourceAdapter
Constructor Summary | |
---|---|
JmsResourceAdapter(java.lang.String ejbName,
JmsActivationConfig config)
|
Method Summary | |
---|---|
void |
endpointActivation(MessageEndpointFactory endpointFactory,
ActivationSpec spec)
Called during activation of a message endpoint. |
void |
endpointDeactivation(MessageEndpointFactory endpointFactory,
ActivationSpec spec)
Called during deactivation of a message endpoint. |
XAResource[] |
getXAResources(ActivationSpec[] specs)
Called during crash recovery. |
void |
setAcknowledgeMode(int acknowledgeMode)
|
void |
setConsumerMax(int consumerMax)
|
void |
setMessageSelector(java.lang.String selector)
|
void |
setSubscriptionName(java.lang.String subscriptionName)
|
void |
start(BootstrapContext ctx)
Called when the resource adapter is started. |
void |
stop()
Called when the resource adapter is stopped. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JmsResourceAdapter(java.lang.String ejbName, JmsActivationConfig config)
Method Detail |
---|
public void setMessageSelector(java.lang.String selector)
public void setSubscriptionName(java.lang.String subscriptionName)
public void setConsumerMax(int consumerMax)
public void setAcknowledgeMode(int acknowledgeMode)
public void start(BootstrapContext ctx) throws ResourceAdapterInternalException
ResourceAdapter
start
in interface ResourceAdapter
ResourceAdapterInternalException
public void stop()
stop
in interface ResourceAdapter
public void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec) throws NotSupportedException, ResourceException
endpointActivation
in interface ResourceAdapter
NotSupportedException
ResourceException
public void endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
endpointDeactivation
in interface ResourceAdapter
public XAResource[] getXAResources(ActivationSpec[] specs) throws ResourceException
getXAResources
in interface ResourceAdapter
ResourceException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |