|
SonicMQ API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprogress.message.jclient.DestinationFactory
public abstract class DestinationFactory
Description: This factory provides a mechanism that can be used to a SonicMQ Destination without a Session of access to a JMS Object store.
Constructor Summary | |
---|---|
DestinationFactory()
|
Method Summary | |
---|---|
static MultiTopic |
createMultiTopic()
Creates a new empty MultiTopic. |
static Queue |
createQueue(java.lang.String queueName)
Creates a SonicMQ Queue with the given queue name. |
static Destination |
createSonicDestination(Destination dest)
Creates a SonicMQ Destination from the given destination. |
static Topic |
createTopic(java.lang.String topicName)
Creates a SonicMQ Topic with the given topic name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DestinationFactory()
Method Detail |
---|
public static final Topic createTopic(java.lang.String topicName) throws JMSException
Use of this factory is preferential to direct construction of a progress.message.jclient.Topic object.
topicName
- The name of the topic.
JMSException
public static final Queue createQueue(java.lang.String queueName) throws JMSException
Use of this factory is preferential to direct construction of a progress.message.jclient.Queue object.
queueName
- The queue name.
JMSException
- If the queue cannot be created.public static final MultiTopic createMultiTopic() throws JMSException
JMSException
- if there is an error creating a MultiTopic.public static final Destination createSonicDestination(Destination dest) throws JMSException
JMSException
- if there is an error creating a SonicMQ Destination
|
SonicMQ API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |