|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.search.jmx.impl.JMXRegistrar
public final class JMXRegistrar
Helper class to register JMX beans.
Method Summary | |
---|---|
static boolean |
isNameRegistered(String name)
Checks whether a bean is registered under the given name. |
static String |
registerMBean(Object object,
String name)
Registers the specified object with the given name to the MBean server. |
static void |
unRegisterMBean(String name)
Unregister the MBean with the specified name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String registerMBean(Object object, String name)
object
- the object to registername
- the object name to register the bean under
public static void unRegisterMBean(String name)
name
- The name of the bean to unregister. The name
cannot be null
IllegalArgumentException
- In case the object name is null
public static boolean isNameRegistered(String name)
name
- the object name to check (as string)
true
is there is a bean registered under the given name, false
otherwise.
IllegalArgumentException
- In case the object name is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |