org.jboss.jms.jndi
Interface JMSProviderAdapter

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractJMSProviderAdapter, JNDIProviderAdapter

public interface JMSProviderAdapter
extends Serializable

JMS Provider Adapter

Version:
$Revision: 57209 $
Author:
Hiram Chirino, Jason Dillon, Adrian Brock

Method Summary
 String getFactoryRef()
          Get the jndi binding of the combined connection factory
 Context getInitialContext()
          This must return a context which can be closed.
 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
 

Method Detail

getInitialContext

Context getInitialContext()
                          throws NamingException
This must return a context which can be closed.

Returns:
the context
Throws:
NamingException

setName

void setName(String name)
Set the provider name

Parameters:
name - the name

getName

String getName()
Get the provider name

Returns:
the name

setProperties

void setProperties(Properties properties)
Set the properties

Parameters:
properties - the properties

getProperties

Properties getProperties()
Get the properties

Returns:
the properties

getFactoryRef

String getFactoryRef()
Get the jndi binding of the combined connection factory

Returns:
the jndi binding

getQueueFactoryRef

String getQueueFactoryRef()
Get the jndi binding of the queue connection factory

Returns:
the jndi binding

getTopicFactoryRef

String getTopicFactoryRef()
Get the jndi binding of the topic connection factory

Returns:
the jndi binding

setFactoryRef

void setFactoryRef(String newFactoryRef)
Set the jndi binding of the combined connection factory

Parameters:
newFactoryRef - the jndi binding

setQueueFactoryRef

void setQueueFactoryRef(String newQueueFactoryRef)
Set the jndi binding of the queue connection factory

Parameters:
newQueueFactoryRef - the jndi binding

setTopicFactoryRef

void setTopicFactoryRef(String newTopicFactoryRef)
Set the jndi binding of the topic connection factory

Parameters:
newTopicFactoryRef - the jndi binding


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