org.rhq.plugins.jbossas.util
Class JBossMBeanUtility

java.lang.Object
  extended by org.rhq.plugins.jbossas.util.JBossMBeanUtility

public class JBossMBeanUtility
extends Object

Utility methods for working with JBoss MBeans.

Author:
Ian Springer

Method Summary
static MBeanServer getJBossMBeanServer()
           
static boolean isStarted(org.mc4j.ems.connection.bean.EmsBean emsBean, ResourceContext resourceContext)
          Returns true if the specified JBossAS EMS bean is deployed and in the Started state, or false otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getJBossMBeanServer

public static MBeanServer getJBossMBeanServer()

isStarted

public static boolean isStarted(org.mc4j.ems.connection.bean.EmsBean emsBean,
                                @Nullable
                                ResourceContext resourceContext)
Returns true if the specified JBossAS EMS bean is deployed and in the Started state, or false otherwise.

Parameters:
emsBean - a JBossAS EMS bean
resourceContext - the resource context for the JON resource corresponding to the EMS bean
Returns:
true if the specified JBoss EMS bean is deployed and in the "Started" state, or false otherwise


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.