|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Manageable
Mark a beanlet with this annotation to expose it to JMX.
<beanlets xmlns="http://beanlet.org/schema/beanlet"
xmlns:mx="http://beanlet.org/schema/management"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://beanlet.org/schema/beanlet http://beanlet.org/schema/beanlet/beanlet_1_0.xsd
http://beanlet.org/schema/management http://beanlet.org/schema/management/beanlet_management_1_0.xsd">
<beanlet name="foo" type="com.acme.Foo">
<mx:manageable naming-strategy="org.beanlet.management.IdentityNamingStrategy" registration-policy="FAIL_ON_EXISTING" exposed="ATTRIBUTE,OPERATION"/>
</beanlet>
</beanlets>
| Optional Element Summary | |
|---|---|
ManageableElementType[] |
exposed
Specifies which element types must be exposed. |
Class<? extends NamingStrategy> |
namingStrategy
Specifies a NamingStrategy implementation that is responsible
for generating the MBean's ObjectName. |
RegistrationPolicy |
registrationPolicy
Specifies which registration policy must be applied. |
public abstract Class<? extends NamingStrategy> namingStrategy
NamingStrategy implementation that is responsible
for generating the MBean's ObjectName. The specified class must
have a zero-args constructor.
public abstract RegistrationPolicy registrationPolicy
public abstract ManageableElementType[] exposed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||