org.jgroups.annotations
Annotation Type MBean


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
public @interface MBean

Optional annotation that exposes all public methods in the class hierarchy (excluding Object) as MBean operations. All methods are exposed if and only if exposeAll attribute is true.

If a more fine grained MBean attribute and operation exposure is needed do not use @MBean annotation but annotate fields and public methods directly using @ManagedOperation and @ManagedAttribute annotations.

Author:
Chris Mills

Optional Element Summary
 java.lang.String description
           
 boolean exposeAll
           
 java.lang.String objectName
           
 

objectName

public abstract java.lang.String objectName
Default:
""

exposeAll

public abstract boolean exposeAll
Default:
false

description

public abstract java.lang.String description
Default:
""


Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.