public class QpidActivation extends QpidExceptionHandler
_activated, _connection, _deliveryActive, _destination, _endpointFactory, _factory, _inFailure, _isDeliveryTransacted, _isTopic, _ra, _spec, ONMESSAGE
Constructor and Description |
---|
QpidActivation(QpidResourceAdapter ra,
javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
QpidActivationSpec spec)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
setup()
Setup the activation
|
void |
start()
Start the activation
|
void |
stop()
Stop the activation
|
protected void |
teardown()
Teardown the activation
|
String |
toString()
Get a string representation
|
doesNotExist, handleFailure, isXA, onException, setupCF, setupConnection, setupDestination
public QpidActivation(QpidResourceAdapter ra, javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, QpidActivationSpec spec) throws javax.resource.ResourceException
ra
- The resource adapterendpointFactory
- The endpoint factoryspec
- The activation specjavax.resource.ResourceException
- Thrown if an error occurspublic void start() throws javax.resource.ResourceException
start
in class QpidExceptionHandler
javax.resource.ResourceException
- Thrown if an error occurspublic void stop()
stop
in class QpidExceptionHandler
public void setup() throws Exception
setup
in class QpidExceptionHandler
Exception
- Thrown if an error occursprotected void teardown()
teardown
in class QpidExceptionHandler
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.