org.vostok.management.annotations
Annotation Type MBean


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

identify a bean that must be loaded by a MBeanFactory Resources injection (annoation reource) : annoation must be set on a class. If set with no parameters, factory will create jndi name by it own (only for localDependecies). for external resources, e.i. jndi, "name" must be specified Resources must be set asdependencies first (JndiDependencies or LocalDependencies) Only "name" parameters will be used

Author:
levreau.jerome@vostoksystem.eu
See Also:
MBeanFactory, JndiDependencies, LocalDependencies, Resource, PreDestroy, PostConstruct

Optional Element Summary
 java.lang.String jndi
          define the jndi value the annoted bean must be bound to If emply, jdni will be set to "bean:[package]=[class]Service"
 

jndi

public abstract java.lang.String jndi
define the jndi value the annoted bean must be bound to If emply, jdni will be set to "bean:[package]=[class]Service"

Returns:
Default:
""