|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the beanlet type.public interface BeanletContext<T>
Provides beanlet instances access to their runtime context.
The BeanletContext exposes information on the beanlet's definition
through the BeanletMetaData interface. Additionally, beanlets can
obtain the BeanletReference, which is associated with beanlet method
calls.
An instance of the BeanletContext can only be obtained through
dependency injection.
Inject| Method Summary | |
|---|---|
BeanletMetaData<T> |
getBeanletMetaData()
Returns beanlet definition information for the underlying beanlet. |
BeanletReference<T> |
reference()
Returns the beanlet reference that is associated with the current call. |
| Method Detail |
|---|
BeanletMetaData<T> getBeanletMetaData()
BeanletReference<T> reference()
throws BeanletStateException
BeanletStateException - thrown if no reference is associated with
current call. Note that references are only associated with calls on
proxy methods, or event executions for non static beanlets.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||