org.infinispan.jmx.annotations.MBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-component-annotations Show documentation
Show all versions of infinispan-component-annotations Show documentation
Annotations for Infinispan components and MBeans
package org.infinispan.jmx.annotations;
import java.lang.annotation.Documented;
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;
/**
* Classes annotated with this will be exposed as MBeans. If you are looking for more fined grained way of exposing JMX
* attributes/operations, take a look at {@link ManagedAttribute} and {@link ManagedOperation}
*
* @author [email protected]
* @since 4.0
*/
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.TYPE)
@Inherited
@Documented
public @interface MBean {
/**
* This name becomes the value of the "component" key of the final ObjectName of the MBean. If missing, it defaults
* to the name of the component in the component registry.
*/
String objectName() default "";
String description() default "";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy