Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.resource.adapter » jms » inflow » [javadoc | source]
org.jboss.resource.adapter.jms.inflow
public class: JmsActivation [javadoc | source]
java.lang.Object
   org.jboss.resource.adapter.jms.inflow.JmsActivation

All Implemented Interfaces:
    javax.jms.ExceptionListener

A generic jms Activation.
Field Summary
public static final  Method ONMESSAGE    The onMessage method 
protected  JmsResourceAdapter ra    The resource adapter 
protected  JmsActivationSpec spec    The activation spec 
protected  MessageEndpointFactory endpointFactory    The message endpoint factory 
protected  JBossNotificationBroadcasterSupport emitter    The notification emitter 
protected  AtomicBoolean deliveryActive    Whether delivery is active 
protected  JMSProviderAdapter adapter    The jms provider adapter 
protected  Destination destination    The destination 
protected  Connection connection    The connection 
protected  JmsServerSessionPool pool    The server session pool 
protected  boolean isDeliveryTransacted    Is the delivery transacted 
protected  DLQHandler dlqHandler    The DLQ handler 
protected  TransactionManager tm    The TransactionManager 
Constructor:
 public JmsActivation(JmsResourceAdapter ra,
    MessageEndpointFactory endpointFactory,
    JmsActivationSpec spec) throws ResourceException 
Method from org.jboss.resource.adapter.jms.inflow.JmsActivation Summary:
getActivationSpec,   getConnection,   getDLQHandler,   getDestination,   getMessageEndpointFactory,   getProviderAdapter,   getTransactionManager,   getWorkManager,   handleFailure,   isDeliveryTransacted,   onException,   sendNotification,   setup,   setupConnection,   setupDLQ,   setupDestination,   setupJMSProviderAdapter,   setupQueueConnection,   setupSessionPool,   setupTopicConnection,   start,   stop,   teardown,   teardownConnection,   teardownDLQ,   teardownDestination,   teardownSessionPool,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.resource.adapter.jms.inflow.JmsActivation Detail:
 public JmsActivationSpec getActivationSpec() 
 public Connection getConnection() 
 public DLQHandler getDLQHandler() 
 public Destination getDestination() 
 public MessageEndpointFactory getMessageEndpointFactory() 
 public JMSProviderAdapter getProviderAdapter() 
 public TransactionManager getTransactionManager() 
 public WorkManager getWorkManager() 
 public  void handleFailure(Throwable failure) 
    Handles any failure by trying to reconnect
 public boolean isDeliveryTransacted() 
 public  void onException(JMSException exception) 
 protected  void sendNotification(String event,
    Object userData) 
    Notify of an event
 protected  void setup() throws Exception 
    Setup the activation
 protected  void setupConnection(Context ctx) throws Exception 
    Setup the Connection
 protected  void setupDLQ(Context ctx) throws Exception 
    Setup the DLQ
 protected  void setupDestination(Context ctx) throws Exception 
    Setup the Destination
 protected  void setupJMSProviderAdapter() throws Exception 
    Get the jms provider
 protected QueueConnection setupQueueConnection(Context ctx,
    String user,
    String pass,
    String clientID) throws Exception 
    Setup a Queue Connection
 protected  void setupSessionPool() throws Exception 
    Setup the server session pool
 protected TopicConnection setupTopicConnection(Context ctx,
    String user,
    String pass,
    String clientID) throws Exception 
    Setup a Topic Connection
 public  void start() throws ResourceException 
    Start the activation
 public  void stop() 
    Stop the activation
 protected  void teardown() 
    Teardown the activation
 protected  void teardownConnection() 
    Teardown the connection
 protected  void teardownDLQ() 
    Teardown the DLQ
 protected  void teardownDestination() 
    Teardown the destination
 protected  void teardownSessionPool() 
    Teardown the server session pool
 public String toString()