@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
@Inherited
public @interface AMXMetadata
Note that supportsAdoption is not included here, because that attribute is always false for gmbal.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
genericInterfaceName
Return the generic AMXMBeanInterface interface to be used.
|
java.lang.String |
group
String denoting classification of MBean.
|
boolean |
immutableInfo
True if the MBeanInfo is invariant, that is, has the same
value for the lifetime of the MBean.
|
java.lang.String |
interfaceClassName
Defines the name of the interface to use when generating a proxy
for this class.
|
boolean |
isSingleton
True if only one MBean of this type may be created inside the same
parent container
|
java.lang.String[] |
subTypes
Return the list of types that are legal as types of children of this
type.
|
java.lang.String |
type
An explicit type to use for the MBean.
|
@DescriptorKey(value="amx.isSingleton") public abstract boolean isSingleton
@DescriptorKey(value="amx.group") public abstract java.lang.String group
@DescriptorKey(value="amx.subTypes") public abstract java.lang.String[] subTypes
@DescriptorKey(value="amx.genericInterfaceName") public abstract java.lang.String genericInterfaceName
@DescriptorKey(value="immutableInfo") public abstract boolean immutableInfo
@DescriptorKey(value="interfaceName") public abstract java.lang.String interfaceClassName
@DescriptorKey(value="type") public abstract java.lang.String type
Note that this is NOT part of the AMXMBeanInterface-defined metadata, but gmbal needs it here to have a place to override the type.
Gmbal determines the type name as follows: