站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档

JNDIVendorAdapter (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档


org.apache.axis.components.jms
Class JNDIVendorAdapter

java.lang.Object
  extended byorg.apache.axis.components.jms.JMSVendorAdapter
      extended byorg.apache.axis.components.jms.JNDIVendorAdapter

public class JNDIVendorAdapter
extends JMSVendorAdapter

Uses JNDI to locate ConnectionFactory and Destinations

Author:
Jaime Meritt (jmeritt@sonicsoftware.com)

Field Summary
static String CONNECTION_FACTORY_JNDI_NAME
           
 
Fields inherited from class org.apache.axis.components.jms.JMSVendorAdapter
CONNECT_ACTION, ON_EXCEPTION_ACTION, RECEIVE_ACTION, SEND_ACTION, SUBSCRIBE_ACTION
 
Constructor Summary
JNDIVendorAdapter()
           
 
Method Summary
 javax.jms.Queue getQueue(javax.jms.QueueSession session, String name)
           
 javax.jms.QueueConnectionFactory getQueueConnectionFactory(HashMap cfConfig)
           
 javax.jms.Topic getTopic(javax.jms.TopicSession session, String name)
           
 javax.jms.TopicConnectionFactory getTopicConnectionFactory(HashMap cfConfig)
           
 
Methods inherited from class org.apache.axis.components.jms.JMSVendorAdapter
isRecoverable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONNECTION_FACTORY_JNDI_NAME

public static final String CONNECTION_FACTORY_JNDI_NAME
See Also:
Constant Field Values
Constructor Detail

JNDIVendorAdapter

public JNDIVendorAdapter()
Method Detail

getQueueConnectionFactory

public javax.jms.QueueConnectionFactory getQueueConnectionFactory(HashMap cfConfig)
                                                           throws Exception
Specified by:
getQueueConnectionFactory in class JMSVendorAdapter
Throws:
Exception

getTopicConnectionFactory

public javax.jms.TopicConnectionFactory getTopicConnectionFactory(HashMap cfConfig)
                                                           throws Exception
Specified by:
getTopicConnectionFactory in class JMSVendorAdapter
Throws:
Exception

getQueue

public javax.jms.Queue getQueue(javax.jms.QueueSession session,
                                String name)
                         throws Exception
Overrides:
getQueue in class JMSVendorAdapter
Throws:
Exception

getTopic

public javax.jms.Topic getTopic(javax.jms.TopicSession session,
                                String name)
                         throws Exception
Overrides:
getTopic in class JMSVendorAdapter
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.