@Retention(value=RUNTIME) @Target(value={TYPE,METHOD,FIELD}) public @interface JMX
Modifier and Type | Required Element and Description |
---|---|
Class<?> |
exposedInterface
The mbean interface the annotated object should expose.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
name
String form of the ObjectName for the mbean.
|
boolean |
registerDirectly
Should the annotated object itself be directly registered with
the MBeanServer, or should a
javax.management.StandardMBean
be created using the object and the
exposed interface ? |
public abstract Class<?> exposedInterface
registerDirectly()
is true
.public abstract String name
public abstract boolean registerDirectly
javax.management.StandardMBean
be created using the object and the
exposed interface
?true
if the object should be registered directly,
false
if a StandardMBean should be created.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.