|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - the event typepublic interface ObserverMethod<T>
Represents an observer method of an enabled bean. Defines everything the container needs to know about an observer method.
| Method Summary | |
|---|---|
java.lang.Class<?> |
getBeanClass()
Obtains the bean class of the bean that declares the observer method. |
java.util.Set<java.lang.annotation.Annotation> |
getObservedQualifiers()
Obtains the set of observed event qualifiers. |
java.lang.reflect.Type |
getObservedType()
Obtains the observed event type. |
Reception |
getReception()
Obtains the specified Reception for the observer method. |
TransactionPhase |
getTransactionPhase()
Obtains the specified TransactionPhase for the observer method. |
void |
notify(T event)
Calls the observer method, passing the given event object. |
| Method Detail |
|---|
java.lang.Class<?> getBeanClass()
java.lang.reflect.Type getObservedType()
java.util.Set<java.lang.annotation.Annotation> getObservedQualifiers()
Reception getReception()
Reception for the observer method. This
indicates if the observer is conditional or not.
ReceptionTransactionPhase getTransactionPhase()
TransactionPhase for the observer method.
TransactionPhasevoid notify(T event)
event - the event object
|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.
Generated on 24-November-2009 03:24