org.jboss.webbeans.integration.messaging
Class JBossJmsServices

java.lang.Object
  extended by org.jboss.webbeans.resources.spi.helpers.AbstractResourceServices
      extended by org.jboss.webbeans.integration.messaging.JBossJmsServices
All Implemented Interfaces:
org.jboss.webbeans.bootstrap.api.Service, org.jboss.webbeans.messaging.spi.JmsServices

public class JBossJmsServices
extends org.jboss.webbeans.resources.spi.helpers.AbstractResourceServices
implements org.jboss.webbeans.messaging.spi.JmsServices


Constructor Summary
JBossJmsServices()
           
 
Method Summary
protected  Context getContext()
           
 javax.jms.QueueConnectionFactory getQueueConnectionFactory()
           
 javax.jms.TopicConnectionFactory getTopicConnectionFactory()
           
<T extends javax.jms.Destination>
T
resolveDestination(String jndiName, String mappedName)
           
 
Methods inherited from class org.jboss.webbeans.resources.spi.helpers.AbstractResourceServices
getPropertyName, getResourceName, getResourceName, resolveResource, resolveResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossJmsServices

public JBossJmsServices()
                 throws NamingException
Throws:
NamingException
Method Detail

resolveDestination

public <T extends javax.jms.Destination> T resolveDestination(String jndiName,
                                                              String mappedName)
Specified by:
resolveDestination in interface org.jboss.webbeans.messaging.spi.JmsServices

getQueueConnectionFactory

public javax.jms.QueueConnectionFactory getQueueConnectionFactory()
Specified by:
getQueueConnectionFactory in interface org.jboss.webbeans.messaging.spi.JmsServices

getTopicConnectionFactory

public javax.jms.TopicConnectionFactory getTopicConnectionFactory()
Specified by:
getTopicConnectionFactory in interface org.jboss.webbeans.messaging.spi.JmsServices

getContext

protected Context getContext()
Specified by:
getContext in class org.jboss.webbeans.resources.spi.helpers.AbstractResourceServices


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.