All Downloads are FREE. Search and download functionalities are using the official Maven repository.

bboss.org.jgroups.annotations.MBean Maven / Gradle / Ivy

The newest version!
package bboss.org.jgroups.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
 * 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 * @version $Id: MBean.java,v 1.6 2008/04/28 13:43:10 vlada Exp $ */ @Retention(RetentionPolicy.RUNTIME) @Target( { ElementType.TYPE }) @Inherited public @interface MBean { String objectName() default ""; boolean exposeAll() default false; String description() default ""; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy