org.jboss.aop.microcontainer.aspects.jmx
Annotation Type JMX


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

A temporary home for this annotation interface

Version:
$Revision: 76021 $
Author:
Kabir Khan, Brian Stansberry

Required Element Summary
 Class<?> exposedInterface
          The mbean interface the annotated object should expose.
 
Optional Element Summary
 String name
          String form of the ObjectName for the mbean.
 boolean registerDirectly
          Should the annotated object itself be directly registered with the MBeanServer, or should a javax.management.StandardMBean be created using the object and the exposed interface?
 

Element Detail

exposedInterface

public abstract Class<?> exposedInterface
The mbean interface the annotated object should expose. Ignored if registerDirectly() is true.

Returns:
the mbean interface

name

public abstract String name
String form of the ObjectName for the mbean.

Returns:
the object name
Default:
""

registerDirectly

public abstract boolean registerDirectly
Should the annotated object itself be directly registered with the MBeanServer, or should a javax.management.StandardMBean be created using the object and the exposed interface?

Returns:
true if the object should be registered directly, false if a StandardMBean should be created.
Default:
false


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.