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

JNDIProviderAdapter (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档


org.jboss.jms.jndi
Class JNDIProviderAdapter

java.lang.Object
  extended byorg.jboss.jms.jndi.AbstractJMSProviderAdapter
      extended byorg.jboss.jms.jndi.JNDIProviderAdapter
All Implemented Interfaces:
JMSProviderAdapter, Serializable

public class JNDIProviderAdapter
extends AbstractJMSProviderAdapter

A provider adapter that uses properties.

Version:
$Revision: 1.1.2.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.jms.jndi.AbstractJMSProviderAdapter
name, properties, providerURL, queueFactoryRef, topicFactoryRef
 
Constructor Summary
JNDIProviderAdapter()
           
 
Method Summary
 Context getInitialContext()
          This must return a context which can be closed.
 void setProviderUrl(String url)
          Set the URL that will be used to connect to the JNDI provider.
 
Methods inherited from class org.jboss.jms.jndi.AbstractJMSProviderAdapter
getName, getProperties, getProviderUrl, getQueueFactoryRef, getTopicFactoryRef, setName, setProperties, setQueueFactoryRef, setTopicFactoryRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JNDIProviderAdapter

public JNDIProviderAdapter()
Method Detail

setProviderUrl

public void setProviderUrl(String url)
Description copied from class: AbstractJMSProviderAdapter
Set the URL that will be used to connect to the JNDI provider.

Specified by:
setProviderUrl in interface JMSProviderAdapter
Overrides:
setProviderUrl in class AbstractJMSProviderAdapter
Parameters:
url - The URL that will be used to connect.

getInitialContext

public Context getInitialContext()
                          throws NamingException
Description copied from interface: JMSProviderAdapter
This must return a context which can be closed.

Throws:
NamingException


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