|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.jms.extensions.JMSRuntimeHelper
This class contains JMS helper methods for locating JMS runtime (i.e., monitoring) JMX MBeans.
Constructor Summary | |
JMSRuntimeHelper()
|
Method Summary | |
static weblogic.management.runtime.JMSConnectionRuntimeMBean |
getJMSConnectionRuntimeMBean(Context ctx,
Connection connection)
Retrieve the JMS connection runtime MBean for the associated JMS connection. |
static weblogic.management.runtime.JMSDestinationRuntimeMBean |
getJMSDestinationRuntimeMBean(Context ctx,
Destination destination)
Retrieve the JMS destination runtime MBean for the associated JMS destination. |
static weblogic.management.runtime.JMSDestinationRuntimeMBean |
getJMSDestinationRuntimeMBean(Context ctx,
String jmsServerName,
String destinationName)
Retrieve the JMS destination runtime MBean for the specified JMS destination name on the specified JMS server. |
static weblogic.management.runtime.JMSConsumerRuntimeMBean |
getJMSMessageConsumerRuntimeMBean(Context ctx,
MessageConsumer messageConsumer)
Retrieve the JMS consumer runtime MBean for the associated JMS message consumer. |
static weblogic.management.runtime.JMSProducerRuntimeMBean |
getJMSMessageProducerRuntimeMBean(Context ctx,
MessageProducer messageProducer)
Retrieve the JMS producer runtime MBean for the associated JMS message producer. |
static weblogic.management.runtime.JMSServerRuntimeMBean |
getJMSServerRuntimeMBean(Context ctx,
Destination destination)
Retrieve the JMS server runtime MBean hosting the associated JMS destination. |
static weblogic.management.runtime.JMSServerRuntimeMBean |
getJMSServerRuntimeMBean(Context ctx,
String mbeanName)
Retrieve the JMS server runtime MBean for the specified JMS server name. |
static weblogic.management.runtime.JMSSessionRuntimeMBean |
getJMSSessionRuntimeMBean(Context ctx,
Session session)
Retrieve the JMS session runtime MBean for the associated JMS session. |
String |
newJMSMessageIDToOld(String messageId)
Convert WebLogic JMS 6.0 JMSMessageID format to the pre-6.0 format. |
String |
oldJMSMessageIDToNew(String messageId,
long timeStamp)
Convert WebLogic JMS pre-6.0 JMSMessageID format into the 6.0 format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JMSRuntimeHelper()
Method Detail |
public static weblogic.management.runtime.JMSConnectionRuntimeMBean getJMSConnectionRuntimeMBean(Context ctx, Connection connection) throws JMSException
ctx
- JNDI initial context.connection
- javax.jms.Connection
JMSException
- if a JMS error occursJMSConnectionRuntimeMBean
public static weblogic.management.runtime.JMSDestinationRuntimeMBean getJMSDestinationRuntimeMBean(Context ctx, Destination destination) throws JMSException
ctx
- JNDI initial contextdestination
- javax.jms.Destination
JMSException
- if a JMS error occursJMSDestinationRuntimeMBean
public static weblogic.management.runtime.JMSDestinationRuntimeMBean getJMSDestinationRuntimeMBean(Context ctx, String jmsServerName, String destinationName) throws JMSException
ctx
- JNDI initial contextjmsServerName
- name of the JMS serverdestinationName
- name of the JMS destination
JMSException
- if a JMS error occursJMSDestinationRuntimeMBean
public static weblogic.management.runtime.JMSConsumerRuntimeMBean getJMSMessageConsumerRuntimeMBean(Context ctx, MessageConsumer messageConsumer) throws JMSException
ctx
- JNDI initial context.messageConsumer
- javax.jms.MessageConsumer
JMSException
- if a JMS error occursJMSConsumerRuntimeMBean
public static weblogic.management.runtime.JMSProducerRuntimeMBean getJMSMessageProducerRuntimeMBean(Context ctx, MessageProducer messageProducer) throws JMSException
ctx
- JNDI initial context.messageProducer
- javax.jms.MessageProducer
JMSException
- if a JMS error occursJMSProducerRuntimeMBean
public static weblogic.management.runtime.JMSServerRuntimeMBean getJMSServerRuntimeMBean(Context ctx, Destination destination) throws JMSException
ctx
- JNDI initial contextdestination
- javax.jms.Destination
JMSException
- if a JMS error occursJMSServerRuntimeMBean
public static weblogic.management.runtime.JMSServerRuntimeMBean getJMSServerRuntimeMBean(Context ctx, String mbeanName) throws JMSException
ctx
- JNDI initial contextmbeanName
- name of the JMS server
JMSException
- if a JMS error occursJMSServerRuntimeMBean
public static weblogic.management.runtime.JMSSessionRuntimeMBean getJMSSessionRuntimeMBean(Context ctx, Session session) throws JMSException
ctx
- JNDI initial contextsession
- javax.jms.Session
JMSException
- if a JMS error occursJMSSessionRuntimeMBean
public String newJMSMessageIDToOld(String messageId) throws JMSException
messageId
- old JMSMessageID.
JMSException
- if a JMS error occursoldJMSMessageIDToNew(java.lang.String, long)
public String oldJMSMessageIDToNew(String messageId, long timeStamp) throws JMSException
messageId
- old JMSMessageID.timeStamp
- timestamp of message.
JMSException
- if a JMS error occursnewJMSMessageIDToOld(java.lang.String)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |