fr.dyade.aaa.util.management
Class MXWrapper
java.lang.Object
fr.dyade.aaa.util.management.MXWrapper
public final class MXWrapper
- extends java.lang.Object
Field Summary |
static MXServer |
mxserver
|
static java.lang.String |
ServerImpl
Name of the property that allow to configure the JMX server proxy: it
gives the name of the implementation class of the MXServer interface. |
Method Summary |
static java.lang.Object |
getAttribute(javax.management.ObjectName objectName,
java.lang.String attribute)
|
static javax.management.MBeanAttributeInfo[] |
getAttributes(javax.management.ObjectName objectName)
|
static MXServer |
getMXServer()
|
static void |
init()
|
static java.lang.String |
objectName(java.lang.String domain,
java.lang.String name)
|
static java.util.Set |
queryNames(javax.management.ObjectName objectName)
|
static java.lang.String |
registerMBean(java.lang.Object bean,
java.lang.String fullName)
|
static java.lang.String |
registerMBean(java.lang.Object bean,
java.lang.String domain,
java.lang.String name)
|
static void |
setAttribute(javax.management.ObjectName name,
javax.management.Attribute attribute)
|
javax.management.AttributeList |
setAttributes(javax.management.ObjectName name,
javax.management.AttributeList attributes)
|
static void |
setMXServer(MXServer server)
|
static void |
unregisterMBean(java.lang.String fullName)
|
static void |
unregisterMBean(java.lang.String domain,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerImpl
public static final java.lang.String ServerImpl
- Name of the property that allow to configure the JMX server proxy: it
gives the name of the implementation class of the MXServer interface.
If the property is not defined JMX is not used.
- See Also:
- Constant Field Values
mxserver
public static MXServer mxserver
MXWrapper
public MXWrapper()
init
public static void init()
throws java.lang.Exception
- Throws:
java.lang.Exception
objectName
public static java.lang.String objectName(java.lang.String domain,
java.lang.String name)
registerMBean
public static java.lang.String registerMBean(java.lang.Object bean,
java.lang.String domain,
java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
registerMBean
public static java.lang.String registerMBean(java.lang.Object bean,
java.lang.String fullName)
throws java.lang.Exception
- Throws:
java.lang.Exception
unregisterMBean
public static void unregisterMBean(java.lang.String domain,
java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
unregisterMBean
public static void unregisterMBean(java.lang.String fullName)
throws java.lang.Exception
- Throws:
java.lang.Exception
setMXServer
public static void setMXServer(MXServer server)
getMXServer
public static MXServer getMXServer()
setAttribute
public static void setAttribute(javax.management.ObjectName name,
javax.management.Attribute attribute)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAttribute
public static java.lang.Object getAttribute(javax.management.ObjectName objectName,
java.lang.String attribute)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAttributes
public static javax.management.MBeanAttributeInfo[] getAttributes(javax.management.ObjectName objectName)
throws java.lang.Exception
- Throws:
java.lang.Exception
setAttributes
public javax.management.AttributeList setAttributes(javax.management.ObjectName name,
javax.management.AttributeList attributes)
throws java.lang.Exception
- Throws:
java.lang.Exception
queryNames
public static java.util.Set queryNames(javax.management.ObjectName objectName)
Copyright © 2010 ScalAgent D.T.. All Rights Reserved.