org.jboss.jms.jndi
Class AbstractJMSProviderAdapter

java.lang.Object
  extended byorg.jboss.jms.jndi.AbstractJMSProviderAdapter
All Implemented Interfaces:
JMSProviderAdapter (src) , java.io.Serializable
Direct Known Subclasses:
JNDIProviderAdapter (src)

public abstract class AbstractJMSProviderAdapter
extends java.lang.Object
implements JMSProviderAdapter (src) , java.io.Serializable

An abstract implementaion of JMSProviderAdapter (src) . 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

See Also:
Serialized Form

Field Summary
protected  java.lang.String factoryRef
          The factory name to use.
protected  java.lang.String name
          The name of the provider.
protected  java.util.Properties properties
          The properties.
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 getFactoryRef()
          ???
 java.lang.String getName()
          Get the name of the provider.
 java.util.Properties getProperties()
           
 java.lang.String getQueueFactoryRef()
          ???
 java.lang.String getTopicFactoryRef()
          ???
 void setFactoryRef(java.lang.String newFactoryRef)
          ???
 void setName(java.lang.String name)
          Set the name of the provider.
 void setProperties(java.util.Properties properties)
           
 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 (src)
getInitialContext
 

Field Detail

name

protected java.lang.String name
The name of the provider.


properties

protected java.util.Properties properties
The properties.


factoryRef

protected java.lang.String factoryRef
The factory name to use.


queueFactoryRef

protected java.lang.String queueFactoryRef
The queue factory name to use.


topicFactoryRef

protected java.lang.String topicFactoryRef
The topic factory name to use.

Constructor Detail

AbstractJMSProviderAdapter

public AbstractJMSProviderAdapter()
Method Detail

setName

public void setName(java.lang.String name)
Set the name of the provider.

Specified by:
setName in interface JMSProviderAdapter (src)
Parameters:
name - The provider name.

getName

public final java.lang.String getName()
Get the name of the provider.

Specified by:
getName in interface JMSProviderAdapter (src)
Returns:
The provider name.

setProperties

public void setProperties(java.util.Properties properties)
Specified by:
setProperties in interface JMSProviderAdapter (src)

getProperties

public final java.util.Properties getProperties()
Specified by:
getProperties in interface JMSProviderAdapter (src)

getFactoryRef

public java.lang.String getFactoryRef()
???

Specified by:
getFactoryRef in interface JMSProviderAdapter (src)
Returns:
???

getQueueFactoryRef

public java.lang.String getQueueFactoryRef()
???

Specified by:
getQueueFactoryRef in interface JMSProviderAdapter (src)
Returns:
???

getTopicFactoryRef

public java.lang.String getTopicFactoryRef()
???

Specified by:
getTopicFactoryRef in interface JMSProviderAdapter (src)
Returns:
???

setFactoryRef

public void setFactoryRef(java.lang.String newFactoryRef)
???

Specified by:
setFactoryRef in interface JMSProviderAdapter (src)
Returns:
???

setQueueFactoryRef

public void setQueueFactoryRef(java.lang.String newQueueFactoryRef)
???

Specified by:
setQueueFactoryRef in interface JMSProviderAdapter (src)
Returns:
???

setTopicFactoryRef

public void setTopicFactoryRef(java.lang.String newTopicFactoryRef)
???

Specified by:
setTopicFactoryRef in interface JMSProviderAdapter (src)
Returns:
???