|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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
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" |
public abstract java.lang.String jndi
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |