|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.ra.inflow.JBMActivation
public class JBMActivation
The activation.
Field Summary | |
---|---|
static java.lang.reflect.Method |
ONMESSAGE
The onMessage method |
Constructor Summary | |
---|---|
JBMActivation(JBMResourceAdapter ra,
javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
JBMActivationSpec spec)
Constructor |
Method Summary | |
---|---|
JBMActivationSpec |
getActivationSpec()
Get the activation spec |
SimpleString |
getAddress()
|
javax.resource.spi.endpoint.MessageEndpointFactory |
getMessageEndpointFactory()
Get the message endpoint factory |
javax.transaction.TransactionManager |
getTransactionManager()
Get the transaction manager |
javax.resource.spi.work.WorkManager |
getWorkManager()
Get the work manager |
boolean |
isDeliveryTransacted()
Get whether delivery is transacted |
boolean |
isTopic()
Is the destination a topic |
protected void |
setup()
Setup the activation |
protected void |
setupCF()
|
protected void |
setupDestination()
|
protected ClientSession |
setupSession()
Setup a session |
void |
start()
Start the activation |
void |
stop()
Stop the activation |
protected void |
teardown()
Teardown the activation |
java.lang.String |
toString()
Get a string representation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.reflect.Method ONMESSAGE
Constructor Detail |
---|
public JBMActivation(JBMResourceAdapter ra, javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, JBMActivationSpec spec) throws javax.resource.ResourceException
ra
- The resource adapterendpointFactory
- The endpoint factoryspec
- The activation spec
javax.resource.ResourceException
- Thrown if an error occursMethod Detail |
---|
public JBMActivationSpec getActivationSpec()
public javax.resource.spi.endpoint.MessageEndpointFactory getMessageEndpointFactory()
public boolean isDeliveryTransacted()
public javax.resource.spi.work.WorkManager getWorkManager()
public javax.transaction.TransactionManager getTransactionManager()
public boolean isTopic()
public void start() throws javax.resource.ResourceException
javax.resource.ResourceException
- Thrown if an error occurspublic void stop()
protected void setup() throws java.lang.Exception
java.lang.Exception
- Thrown if an error occursprotected void teardown()
protected void setupCF() throws java.lang.Exception
java.lang.Exception
protected ClientSession setupSession() throws java.lang.Exception
user
- The userpass
- The passwordclientID
- The client id
java.lang.Exception
- Thrown if an error occurspublic SimpleString getAddress()
protected void setupDestination() throws java.lang.Exception
java.lang.Exception
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 |