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

org.infinispan.jmx.annotations.MBean Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
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