Sonic Management API

com.sonicsw.mq.common.runtime
Class JMSObjectFactory

java.lang.Object
  extended by com.sonicsw.mq.common.runtime.JMSObjectFactory

public class JMSObjectFactory
extends java.lang.Object


Constructor Summary
JMSObjectFactory()
           
 
Method Summary
static Destination createJMSDestination(IDestination destination)
          Create a SonicMQ javax.jms.Destination from the given IDestination interface.
static Message createJMSMessage(IMessage msg)
          Create a SonicMQ javax.jms.Message from the given IMessage interface.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSObjectFactory

public JMSObjectFactory()
Method Detail

createJMSDestination

public static Destination createJMSDestination(IDestination destination)
Create a SonicMQ javax.jms.Destination from the given IDestination interface.

Parameters:
msg - The IDestination.
Returns:
A javax.jms.Destination that was represented by the IDestination interface.

createJMSMessage

public static Message createJMSMessage(IMessage msg)
Create a SonicMQ javax.jms.Message from the given IMessage interface.

Parameters:
msg - The IMessage retrieved from the getBrowseMessage() Management operation.
Returns:
A javax.jms.Message that was represented by the IMessage interface.

Sonic Management API

Copyright © 2001-2010 Progress Software Corporation. All Rights Reserved.
HTML formatted on 16-Sep-2010.