JMSHelper, JMSModuleHelperpublic class JMSRuntimeHelper
extends java.lang.Object
| Modifier and Type | Method | Description | 
|---|---|---|
static JMSConnectionRuntimeMBean | 
getJMSConnectionRuntimeMBean(javax.naming.Context ctx,
                            javax.jms.Connection connection) | 
 Retrieve the JMS connection runtime MBean for the associated 
  JMS connection. 
 | 
static JMSDestinationRuntimeMBean | 
getJMSDestinationRuntimeMBean(javax.naming.Context ctx,
                             java.lang.String jmsServerName,
                             java.lang.String destinationName) | 
 Retrieve the JMS destination runtime MBean for the specified JMS destination 
  name on the specified JMS server. 
 | 
static JMSDestinationRuntimeMBean | 
getJMSDestinationRuntimeMBean(javax.naming.Context ctx,
                             javax.jms.Destination destination) | 
 Retrieve the JMS destination runtime MBean for the associated 
  JMS destination. 
 | 
static JMSConsumerRuntimeMBean | 
getJMSMessageConsumerRuntimeMBean(javax.naming.Context ctx,
                                 javax.jms.MessageConsumer messageConsumer) | 
 Retrieve the JMS consumer runtime MBean for the associated 
  JMS message consumer. 
 | 
static JMSProducerRuntimeMBean | 
getJMSMessageProducerRuntimeMBean(javax.naming.Context ctx,
                                 javax.jms.MessageProducer messageProducer) | 
 Retrieve the JMS producer runtime MBean for the associated JMS 
  message producer. 
 | 
static JMSServerRuntimeMBean | 
getJMSServerRuntimeMBean(javax.naming.Context ctx,
                        java.lang.String mbeanName) | 
 Retrieve the JMS server runtime MBean for the specified JMS server name. 
 | 
static JMSServerRuntimeMBean | 
getJMSServerRuntimeMBean(javax.naming.Context ctx,
                        javax.jms.Destination destination) | 
 Retrieve the JMS server runtime MBean hosting the associated 
  JMS destination. 
 | 
static JMSSessionRuntimeMBean | 
getJMSSessionRuntimeMBean(javax.naming.Context ctx,
                         javax.jms.Session customerSession) | 
 Retrieve the JMS customerSession runtime MBean for the associated JMS customerSession. 
 | 
java.lang.String | 
newJMSMessageIDToOld(java.lang.String messageId) | 
 Convert WebLogic JMS 6.0 JMSMessageID format to the pre-6.0 format. 
 | 
java.lang.String | 
oldJMSMessageIDToNew(java.lang.String messageId,
                    long timeStamp) | 
 Convert WebLogic JMS pre-6.0 JMSMessageID format into the 6.0 format. 
 | 
public static JMSConnectionRuntimeMBean getJMSConnectionRuntimeMBean(javax.naming.Context ctx, javax.jms.Connection connection) throws JMSException
ctx - JNDI initial context.connection - javax.jms.Connectionjavax.jms.JMSException - if a JMS error occursJMSExceptionJMSConnectionRuntimeMBeanpublic static JMSProducerRuntimeMBean getJMSMessageProducerRuntimeMBean(javax.naming.Context ctx, javax.jms.MessageProducer messageProducer) throws JMSException
ctx - JNDI initial context.messageProducer - javax.jms.MessageProducerjavax.jms.JMSException - if a JMS error occursJMSExceptionJMSProducerRuntimeMBeanpublic static JMSConsumerRuntimeMBean getJMSMessageConsumerRuntimeMBean(javax.naming.Context ctx, javax.jms.MessageConsumer messageConsumer) throws JMSException
ctx - JNDI initial context.messageConsumer - javax.jms.MessageConsumerjavax.jms.JMSException - if a JMS error occursJMSExceptionJMSConsumerRuntimeMBeanpublic static JMSSessionRuntimeMBean getJMSSessionRuntimeMBean(javax.naming.Context ctx, javax.jms.Session customerSession) throws JMSException
ctx - JNDI initial contextcustomerSession - javax.jms.Sessionjavax.jms.JMSException - if a JMS error occursJMSExceptionJMSSessionRuntimeMBeanpublic static JMSServerRuntimeMBean getJMSServerRuntimeMBean(javax.naming.Context ctx, javax.jms.Destination destination) throws JMSException
ctx - JNDI initial contextdestination - javax.jms.Destinationjavax.jms.JMSException - if a JMS error occursJMSExceptionJMSServerRuntimeMBeanpublic static JMSDestinationRuntimeMBean getJMSDestinationRuntimeMBean(javax.naming.Context ctx, java.lang.String jmsServerName, java.lang.String destinationName) throws JMSException
ctx - JNDI initial contextjmsServerName - name of the JMS serverdestinationName - name(in the form of "moduleName!destinationName") of the JMS destination including module name.javax.jms.JMSException - if a JMS error occursJMSExceptionJMSDestinationRuntimeMBeanpublic static JMSDestinationRuntimeMBean getJMSDestinationRuntimeMBean(javax.naming.Context ctx, javax.jms.Destination destination) throws JMSException
ctx - JNDI initial contextdestination - javax.jms.Destinationjavax.jms.JMSException - if a JMS error occursJMSExceptionJMSDestinationRuntimeMBeanpublic static JMSServerRuntimeMBean getJMSServerRuntimeMBean(javax.naming.Context ctx, java.lang.String mbeanName) throws JMSException
ctx - JNDI initial contextmbeanName - name of the JMS serverjavax.jms.JMSException - if a JMS error occursJMSExceptionJMSServerRuntimeMBeanpublic java.lang.String oldJMSMessageIDToNew(java.lang.String messageId,
                                             long timeStamp)
                                      throws JMSException
messageId - old JMSMessageID.timeStamp - timestamp of message.javax.jms.JMSException - if a JMS error occursJMSExceptionnewJMSMessageIDToOld(java.lang.String)public java.lang.String newJMSMessageIDToOld(java.lang.String messageId)
                                      throws JMSException
messageId - old JMSMessageID.javax.jms.JMSException - if a JMS error occursJMSExceptionoldJMSMessageIDToNew(java.lang.String, long)