XMSFactoryFactory
If an application is not using administered objects, use this class to create connection factories, queues, and topics.
- Inheritance hierarchy:
- None
Parent topic: .NET interfaces
Get the metadata
that is appropriate to the connection type of the XMSFactoryFactory
object.
Create a ConnectionFactory
object of the declared type.
Create a Destination
object to represent a queue in the messaging server. This
method does not create the queue in the messaging server. We must
create the queue before an application can call this method.
Create a Destination
object to represent a topic.
Create an instance
of XMSFactoryFactory. An XMS application uses an XMSFactoryFactory
object to get a reference to a ConnectionFactory object that is appropriate
to the required type of protocol. This ConnectionFactory object can
then produce connections for that protocol type only.
.NET properties
.NET property
Description
MetaData
Get the metadata
that is appropriate to the connection type of the XMSFactoryFactory
object.
Metadata - Retrieve metadata
IConnectionMetaData MetaData
Methods
Method
Description
CreateConnectionFactory
Create a ConnectionFactory
object of the declared type.
CreateQueue
Create a Destination
object to represent a queue in the messaging server.
CreateTopic
Create a Destination
object to represent a topic.
GetInstance
Create an instance
of XMSFactoryFactory. An XMS application uses an XMSFactoryFactory
object to get a reference to a ConnectionFactory object that is appropriate
to the required type of protocol. This ConnectionFactory object can
then produce connections for that protocol type only.
CreateConnectionFactory - Create Connection Factory
IConnectionFactory CreateConnectionFactory();
CreateQueue - Create Queue
IDestination CreateQueue(String name);
CreateTopic - Create Topic
IDestination CreateTopic(String name);
GetInstance - Get an instance of XMSFactoryFactory
static XMSFactoryFactory GetInstance(int connectionType);