org.beanlet.management
Annotation Type ExposeElement


@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface ExposeElement

Members marked with this annotation are exposed at the MBean.

XML Representation

The following xml-fragment shows how to express this annotation in xml. The italic attribute of the 'expose-element' tag is used to identify the element to which this annotation is applied.
<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:expose-element field="bar"/>
  </beanlet>
</beanlets>



Copyright © 2006-2012. All Rights Reserved.