|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.sib.api.jms.JmsFactoryFactory
public abstract class JmsFactoryFactory
The JmsFactoryFactory class is the programmatic entry point into the JMS implementation classes.
We separate interfaces and implementation so that applications can be compiled without having to have the implementation present, and this class allows applications to obtain the top level implementation objects.
Constructor Summary | |
---|---|
JmsFactoryFactory()
|
Method Summary | |
---|---|
abstract JmsConnectionFactory |
createConnectionFactory()
Create a provider specific ConnectionFactory object. |
abstract JmsQueue |
createQueue(java.lang.String name)
Provides the ability to create a javax.jms.Queue object without creating a JMS Session. |
abstract JmsQueueConnectionFactory |
createQueueConnectionFactory()
Create a provider specific QueueConnectionFactory object. |
abstract JmsTopic |
createTopic(java.lang.String name)
Provides the ability to create a javax.jms.Topic object without creating a JMS Session. |
abstract JmsTopicConnectionFactory |
createTopicConnectionFactory()
Create a provider specific TopicConnectionFactory object. |
static JmsFactoryFactory |
getInstance()
Returns a singleton instance of the JmsFactoryFactory class. |
abstract javax.jms.ConnectionMetaData |
getMetaData()
Provides the ability to obtain a javax.jms.ConnectionMetaData object without creating an active Connection to the bus. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JmsFactoryFactory()
Method Detail |
---|
public static JmsFactoryFactory getInstance() throws javax.jms.JMSException
javax.jms.JMSException
- If it was not possible to instantiate the implementation
class.public abstract JmsConnectionFactory createConnectionFactory() throws javax.jms.JMSException
javax.jms.JMSException
- Indicates a failure to initialize the required classes.public abstract JmsQueueConnectionFactory createQueueConnectionFactory() throws javax.jms.JMSException
javax.jms.JMSException
- Indicates a failure to initialize the required classes.public abstract JmsTopicConnectionFactory createTopicConnectionFactory() throws javax.jms.JMSException
javax.jms.JMSException
- Indicates a failure to initialize the required classes.public abstract JmsQueue createQueue(java.lang.String name) throws javax.jms.JMSException
This method is provided as a convenience to the application programmer, who may wish to create these objects to bind into JNDI without making an active Connection to the bus.
The behaviour of this method is equivalent to session.createQueue(name).
name
- The name of the Queue this object should reference.
javax.jms.JMSException
- If the supplied parameter is not in the correct format.Session.createQueue(String)
public abstract JmsTopic createTopic(java.lang.String name) throws javax.jms.JMSException
This method is provided as a convenience to the application programmer, who may wish to create these objects to bind into JNDI without making an active Connection to the bus.
The behaviour of this method is equivalent to session.createTopic(name).
name
- The name of the Topic this object should reference.
javax.jms.JMSException
- If the supplied parameter is not in the correct format.Session.createTopic(String)
public abstract javax.jms.ConnectionMetaData getMetaData() throws javax.jms.JMSException
This method is provided as a convenience to the application programmer. The behaviour of this method is equivalent to connection.getMetaData().
javax.jms.JMSException
- If the required information is not available.Connection.getMetaData()
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |