|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.mosgi.jmx.agent.mx4j.MX4JSystemKeys
public final class MX4JSystemKeys
This class holds the system property keys that the MX4J implementation uses to plugin
custom components.
The naming convention is that, for a defined constant, the corrispondent system property
is obtained by converting the constant name to lowercase and by replacing the underscores
with dots so that, for example, the constant MX4J_MBEANSERVER_CLASSLOADER_REPOSITORY
correspond to the system property key mx4j.mbeanserver.classloader.repository
Field Summary | |
---|---|
static java.lang.String |
MX4J_LOG_PRIORITY
Specifies the level of logging performed by the MX4J JMX implementation. |
static java.lang.String |
MX4J_LOG_PROTOTYPE
Specifies a full qualified class name of a class extending the mx4j.log.Logger class, that
will be used as prototype for new loggers created. |
static java.lang.String |
MX4J_MBEAN_INVOKER
Specifies a full qualified class name of a class implementing the mx4j.server.MBeanInvoker interface,
that will be used as invoker for standard MBeans. |
static java.lang.String |
MX4J_MBEANSERVER_CLASSLOADER_REPOSITORY
Specifies a full qualified class name of a class extending the mx4j.server.ModifiableClassLoaderRepository
class, that will be used by the MBeanServer to store ClassLoader MBeans that wants to be registered in
the MBeanServer's ClassLoaderRepository. |
static java.lang.String |
MX4J_MBEANSERVER_REPOSITORY
Specifies a full qualified class name of a class implementing the mx4j.server.MBeanRepository
interface, that will be used by the MBeanServer to store information about registered MBeans. |
static java.lang.String |
MX4J_STRICT_MBEAN_INTERFACE
When this property is set to false (as specified by Boolean.valueOf(String) ), the MX4J
JMX implementation will accept as MBean interfaces of standard MBeans also interfaces defined in
different packages or as nested classes of the MBean class. |
static java.lang.String |
MX4J_UNCHECKED_IDENTIFIERS
From JMX 1.2, names for attributes and operations, as well as their (return) types, must be valid Java identifiers, as specified by Character.isJavaIdentifierStart(char) and Character.isJavaIdentifierPart(char) . |
Constructor Summary | |
---|---|
MX4JSystemKeys()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MX4J_MBEANSERVER_REPOSITORY
mx4j.server.MBeanRepository
interface, that will be used by the MBeanServer to store information about registered MBeans.
public static final java.lang.String MX4J_MBEANSERVER_CLASSLOADER_REPOSITORY
mx4j.server.ModifiableClassLoaderRepository
class, that will be used by the MBeanServer to store ClassLoader MBeans that wants to be registered in
the MBeanServer's ClassLoaderRepository.
public static final java.lang.String MX4J_LOG_PRIORITY
public static final java.lang.String MX4J_LOG_PROTOTYPE
mx4j.log.Logger
class, that
will be used as prototype for new loggers created.
public static final java.lang.String MX4J_STRICT_MBEAN_INTERFACE
Boolean.valueOf(String)
), the MX4J
JMX implementation will accept as MBean interfaces of standard MBeans also interfaces defined in
different packages or as nested classes of the MBean class.
So for example, will be possible for a com.foo.Service to have a management interface called
com.bar.ServiceMBean.
If not defined, or if set to true, only MBean interfaces of the same package of the MBean class
are considered valid management interfaces.
public static final java.lang.String MX4J_MBEAN_INVOKER
mx4j.server.MBeanInvoker
interface,
that will be used as invoker for standard MBeans.
Two classes are provided by the MX4J JMX implementation: mx4j.server.BCELMBeanInvoker
and
mx4j.server.ReflectedMBeanInvoker
.
The first one will use BCEL classes (if present) to speed up invocations on standard MBeans, while the second
uses reflection.
If, for any reason, the BCEL invocation fails, then the reflected invoker is used.
public static java.lang.String MX4J_UNCHECKED_IDENTIFIERS
Character.isJavaIdentifierStart(char)
and Character.isJavaIdentifierPart(char)
.
When set to true, (as specified by Boolean.valueOf(String)
), this property turnes off this check.
Constructor Detail |
---|
public MX4JSystemKeys()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |