org.jboss.seam.jms.tools
Class JMSResourceManager

java.lang.Object
  extended by org.jboss.seam.jms.tools.JMSResourceManager

@ApplicationScoped
public class JMSResourceManager
extends Object

Resource manager is able to manage the end lifecycle of various JMS resources

Author:
johnament

Constructor Summary
JMSResourceManager()
           
 
Method Summary
 void addCloseableConnection(javax.jms.Connection connection)
           
 void addCloseableMC(javax.jms.MessageConsumer mc)
           
 void addCloseableQR(javax.jms.QueueReceiver qr)
           
 void addCloseableTS(javax.jms.TopicSubscriber ts)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSResourceManager

public JMSResourceManager()
Method Detail

addCloseableConnection

public void addCloseableConnection(@Observes@Closeable
                                   javax.jms.Connection connection)

addCloseableTS

public void addCloseableTS(@Observes@Closeable
                           javax.jms.TopicSubscriber ts)

addCloseableQR

public void addCloseableQR(@Observes@Closeable
                           javax.jms.QueueReceiver qr)

addCloseableMC

public void addCloseableMC(@Observes@Closeable
                           javax.jms.MessageConsumer mc)

shutdown

@PreDestroy
public void shutdown()


Copyright © 2011 Seam Framework. All Rights Reserved.