|
Java™ Platform Standard Ed. 7 DRAFT ea-b76 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=TYPE) @Documented @Inherited public @interface MXBeanMappingClass
Specifies the MXBean mapping to be used for this Java type.
MXBeanMapping| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends MXBeanMapping> |
value
The MXBeanMapping class to be used to map the
annotated type. |
| Element Detail |
|---|
public abstract Class<? extends MXBeanMapping> value
The MXBeanMapping class to be used to map the
annotated type. This class must have a public constructor with
a single argument of type Type. The
constructor will be called with the annotated type as an
argument. See the MXBeanMapping documentation
for an example.
If the MXBeanMapping cannot in fact handle that
type, the constructor should throw an OpenDataException. If the constructor throws this or any other
exception then an MXBean in which the annotated type appears is
invalid, and registering it in the MBean Server will produce a
NotCompliantMBeanException.
|
Java™ Platform Standard Ed. 7 DRAFT ea-b76 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.