com.ibm.websphere.sib.api.jms
Class JmsFactoryFactory
- java.lang.Object
com.ibm.websphere.sib.api.jms.JmsFactoryFactory
- public abstract class JmsFactoryFactory
- extends java.lang.Object
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
Constructor and Description |
---|
JmsFactoryFactory()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
createConnectionFactory()
Create a provider specific ConnectionFactory object.
|
|
createQueue(java.lang.String name)
Provides the ability to create a javax.jms.Queue object without creating
a JMS Session.
|
|
createQueueConnectionFactory()
Create a provider specific QueueConnectionFactory object.
|
|
createTopic(java.lang.String name)
Provides the ability to create a javax.jms.Topic object without creating
a JMS Session.
|
|
createTopicConnectionFactory()
Create a provider specific TopicConnectionFactory object.
|
|
getInstance()
Returns a singleton instance of the JmsFactoryFactory class.
|
|
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
JmsFactoryFactory
- public JmsFactoryFactory()
Method Detail
getInstance
- public static JmsFactoryFactory getInstance( )
- throws javax.jms.JMSException
javax.jms.JMSException
- If it was not possible to instantiate the implementation
class. createConnectionFactory
- public abstract JmsConnectionFactory createConnectionFactory( )
- throws javax.jms.JMSException
javax.jms.JMSException
- Indicates a failure to initialize the required classes. createQueueConnectionFactory
- public abstract JmsQueueConnectionFactory createQueueConnectionFactory( )
- throws javax.jms.JMSException
javax.jms.JMSException
- Indicates a failure to initialize the required classes. createTopicConnectionFactory
- public abstract JmsTopicConnectionFactory createTopicConnectionFactory( )
- throws javax.jms.JMSException
javax.jms.JMSException
- Indicates a failure to initialize the required classes. createQueue
- 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)
createTopic
- 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)
getMetaData
- 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()