|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jms.jndi.AbstractJMSProviderAdapter
public abstract class 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: 57209 $
Field Summary | |
---|---|
protected String |
factoryRef
The factory name to use. |
protected String |
name
The name of the provider. |
protected Properties |
properties
The properties. |
protected String |
queueFactoryRef
The queue factory name to use. |
protected String |
topicFactoryRef
The topic factory name to use. |
Constructor Summary | |
---|---|
AbstractJMSProviderAdapter()
|
Method Summary | |
---|---|
String |
getFactoryRef()
Get the jndi binding of the combined connection factory |
String |
getName()
Get the provider name |
Properties |
getProperties()
Get the properties |
String |
getQueueFactoryRef()
Get the jndi binding of the queue connection factory |
String |
getTopicFactoryRef()
Get the jndi binding of the topic connection factory |
void |
setFactoryRef(String newFactoryRef)
Set the jndi binding of the combined connection factory |
void |
setName(String name)
Set the provider name |
void |
setProperties(Properties properties)
Set the properties |
void |
setQueueFactoryRef(String newQueueFactoryRef)
Set the jndi binding of the queue connection factory |
void |
setTopicFactoryRef(String newTopicFactoryRef)
Set the jndi binding of the topic connection factory |
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 Properties properties
protected String factoryRef
protected String queueFactoryRef
protected String topicFactoryRef
Constructor Detail |
---|
public AbstractJMSProviderAdapter()
Method Detail |
---|
public void setName(String name)
JMSProviderAdapter
setName
in interface JMSProviderAdapter
name
- the namepublic final String getName()
JMSProviderAdapter
getName
in interface JMSProviderAdapter
public void setProperties(Properties properties)
JMSProviderAdapter
setProperties
in interface JMSProviderAdapter
properties
- the propertiespublic final Properties getProperties()
JMSProviderAdapter
getProperties
in interface JMSProviderAdapter
public String getFactoryRef()
JMSProviderAdapter
getFactoryRef
in interface JMSProviderAdapter
public String getQueueFactoryRef()
JMSProviderAdapter
getQueueFactoryRef
in interface JMSProviderAdapter
public String getTopicFactoryRef()
JMSProviderAdapter
getTopicFactoryRef
in interface JMSProviderAdapter
public void setFactoryRef(String newFactoryRef)
JMSProviderAdapter
setFactoryRef
in interface JMSProviderAdapter
newFactoryRef
- the jndi bindingpublic void setQueueFactoryRef(String newQueueFactoryRef)
JMSProviderAdapter
setQueueFactoryRef
in interface JMSProviderAdapter
newQueueFactoryRef
- the jndi bindingpublic void setTopicFactoryRef(String newTopicFactoryRef)
JMSProviderAdapter
setTopicFactoryRef
in interface JMSProviderAdapter
newTopicFactoryRef
- the jndi binding
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |