| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectelectric.server.jms.sonicmq.SonicMQAdapter
SonicMQAdapter
| Field Summary | |
static java.lang.String | 
HOST
BROKER_HOST can be used as a key in Context to identify a SonicMQ broker host location.  | 
static java.lang.String | 
PASSWORD
BROKER_PASSWORD can be used as a key in Context to identify password used to connect to the broker  | 
static java.lang.String | 
USER
BROKER_USER can be used as a key in Context to identify user name used to connect to the broker  | 
| Constructor Summary | |
SonicMQAdapter()
 | 
|
| Method Summary | |
 void | 
brokerConnectionDropped(java.lang.String host)
 | 
 void | 
brokerEventNotification(java.lang.String description)
 | 
 void | 
brokerShutdown(java.lang.String host)
 | 
 void | 
brokerUndeliveredMsgNotification(java.lang.String broker,
                                 java.lang.String messageID,
                                 java.lang.String destination,
                                 long timestamp,
                                 int reason,
                                 boolean preserved)
 | 
 java.lang.String | 
getClassName()
Returns the name of the class to be found only in the codebase of the jms provider, an implementation represents  | 
 java.lang.String | 
getProviderName()
Return the name of the provider  | 
 javax.jms.Queue | 
getQueue(java.lang.String queueName,
         boolean create)
This method is called by the JMS subsystem of GLUE to request construction and placement of a JMS Queue object in a JNDI directory The method returns the name of the queue conforming to the requirements of the provider  | 
 javax.jms.QueueConnectionFactory | 
getQueueConnectionFactory(java.lang.String queueConnFactoryName,
                          boolean create)
This method is called by the JMS subsystem of GLUE to request construction and placement of a JMS Queue Connection Factory object in a JNDI directory The method returns the name of the queue connection factory conforming to the requirements of the provider  | 
 Context | 
getStartupContext()
Get the context with the properties used to initialize/customize this adapter.  | 
 boolean | 
isStarted()
Test if the admin had been started  | 
 void | 
shutdown()
Close any resources used by the adapter and shutdown the adapter  | 
 void | 
startup(Context context)
Get any setting overrides from the context.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final java.lang.String HOST
public static final java.lang.String USER
public static final java.lang.String PASSWORD
| Constructor Detail | 
public SonicMQAdapter()
| Method Detail | 
public void startup(Context context)
             throws javax.jms.JMSException
startup in interface IJMSAdaptercontext - the context containing any custom settings for the provider
javax.jms.JMSExceptionpublic boolean isStarted()
IJMSAdapter
isStarted in interface IJMSAdapter
public void shutdown()
              throws javax.jms.JMSException
shutdown in interface IJMSAdapterjavax.jms.JMSExceptionpublic Context getStartupContext()
getStartupContext in interface IJMSAdapter
public javax.jms.Queue getQueue(java.lang.String queueName,
                                boolean create)
                         throws javax.jms.JMSException,
                                javax.naming.NamingException
getQueue in interface IJMSAdapterqueueName - JNDI name of the queuecreate - if true, create the queue
javax.jms.JMSException
javax.naming.NamingException
public javax.jms.QueueConnectionFactory getQueueConnectionFactory(java.lang.String queueConnFactoryName,
                                                                  boolean create)
                                                           throws javax.jms.JMSException
getQueueConnectionFactory in interface IJMSAdapterqueueConnFactoryName - JNDI name of the queue connecion factorycreate - if true, create the queue
javax.jms.JMSExceptionpublic java.lang.String getClassName()
getClassName in interface IJMSAdapterpublic java.lang.String getProviderName()
getProviderName in interface IJMSAdapterpublic void brokerShutdown(java.lang.String host)
brokerShutdown in interface progress.message.tools.IBrokerManagerListenerhost - public void brokerConnectionDropped(java.lang.String host)
brokerConnectionDropped in interface progress.message.tools.IBrokerManagerListenerhost - public void brokerEventNotification(java.lang.String description)
brokerEventNotification in interface progress.message.tools.IBrokerManagerListenerdescription - 
public void brokerUndeliveredMsgNotification(java.lang.String broker,
                                             java.lang.String messageID,
                                             java.lang.String destination,
                                             long timestamp,
                                             int reason,
                                             boolean preserved)
brokerUndeliveredMsgNotification in interface progress.message.tools.IBrokerManagerListenerbroker - messageID - destination - timestamp - reason - preserved - 
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||