JBoss API: Class AbstractJMSProviderAdapter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.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.2.4.1 $
Field Summary | |
protected java.lang.String |
name
The name of the provider. |
protected java.lang.String |
providerURL
The provider url. |
protected java.lang.String |
queueFactoryRef
The queue factory name to use. |
protected java.lang.String |
topicFactoryRef
The topic factory name to use. |
Constructor Summary | |
AbstractJMSProviderAdapter()
|
Method Summary | |
java.lang.String |
getName()
Get the name of the provider. |
java.lang.String |
getProviderUrl()
Get the URL that is currently being used to connect to the JNDI provider. |
java.lang.String |
getQueueFactoryRef()
??? |
java.lang.String |
getTopicFactoryRef()
??? |
void |
setName(java.lang.String name)
Set the name of the provider. |
void |
setProviderUrl(java.lang.String url)
Set the URL that will be used to connect to the JNDI provider. |
void |
setQueueFactoryRef(java.lang.String newQueueFactoryRef)
??? |
void |
setTopicFactoryRef(java.lang.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 java.lang.String name
protected java.lang.String providerURL
protected java.lang.String queueFactoryRef
protected java.lang.String topicFactoryRef
Constructor Detail |
public AbstractJMSProviderAdapter()
Method Detail |
public void setName(java.lang.String name)
setName
in interface JMSProviderAdapter
name
- The provider name.public final java.lang.String getName()
getName
in interface JMSProviderAdapter
public void setProviderUrl(java.lang.String url)
setProviderUrl
in interface JMSProviderAdapter
url
- The URL that will be used to connect.public final java.lang.String getProviderUrl()
getProviderUrl
in interface JMSProviderAdapter
public java.lang.String getQueueFactoryRef()
getQueueFactoryRef
in interface JMSProviderAdapter
public java.lang.String getTopicFactoryRef()
getTopicFactoryRef
in interface JMSProviderAdapter
public void setQueueFactoryRef(java.lang.String newQueueFactoryRef)
setQueueFactoryRef
in interface JMSProviderAdapter
public void setTopicFactoryRef(java.lang.String newTopicFactoryRef)
setTopicFactoryRef
in interface JMSProviderAdapter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |