|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jms.jndi.AbstractJMSProviderAdapter
An abstract implementaion of JMSProviderAdapter
. Sub-classes must
provide connection names via instance initialzation and provide an
implementaion of JMSProviderAdapter.getInitialContext()
.
6/22/01 - hchirino - The queue/topic jndi references are now configed via JMX
$Revision: 1.6.6.1 $
Field Summary | |
protected String |
name
The name of the provider. |
protected Properties |
properties
The properties |
protected String |
providerURL
The provider url. |
protected String |
queueFactoryRef
The queue factory name to use. |
protected String |
topicFactoryRef
The topic factory name to use. |
Constructor Summary | |
AbstractJMSProviderAdapter()
|
Method Summary | |
String |
getName()
Get the name of the provider. |
Properties |
getProperties()
Get the properties that is currently being used to connect to the JNDI provider. |
String |
getProviderUrl()
Get the URL that is currently being used to connect to the JNDI provider. |
String |
getQueueFactoryRef()
??? |
String |
getTopicFactoryRef()
??? |
void |
setName(String name)
Set the name of the provider. |
void |
setProperties(Properties properties)
Set the properties that will be used to connect to the JNDI provider. |
void |
setProviderUrl(String url)
Set the URL that will be used to connect to the JNDI provider. |
void |
setQueueFactoryRef(String newQueueFactoryRef)
??? |
void |
setTopicFactoryRef(String newTopicFactoryRef)
??? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.jms.jndi.JMSProviderAdapter |
getInitialContext |
Field Detail |
protected String name
protected String providerURL
protected Properties properties
protected String queueFactoryRef
protected String topicFactoryRef
Constructor Detail |
public AbstractJMSProviderAdapter()
Method Detail |
public void setName(String name)
setName
in interface JMSProviderAdapter
name
- The provider name.public final String getName()
getName
in interface JMSProviderAdapter
public void setProviderUrl(String url)
setProviderUrl
in interface JMSProviderAdapter
url
- The URL that will be used to connect.public final String getProviderUrl()
getProviderUrl
in interface JMSProviderAdapter
public void setProperties(Properties properties)
setProperties
in interface JMSProviderAdapter
properties
- The Properties that will be used to connect.public final Properties getProperties()
getProperties
in interface JMSProviderAdapter
public String getQueueFactoryRef()
getQueueFactoryRef
in interface JMSProviderAdapter
public String getTopicFactoryRef()
getTopicFactoryRef
in interface JMSProviderAdapter
public void setQueueFactoryRef(String newQueueFactoryRef)
setQueueFactoryRef
in interface JMSProviderAdapter
public void setTopicFactoryRef(String newTopicFactoryRef)
setTopicFactoryRef
in interface JMSProviderAdapter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |