|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - Exception for which this handler is responsiblepublic interface HandlerMethod<T extends Throwable>
Meta data interface about an exception handler. It is the responsibility of the
implementation to support InjectionPoints and to
validate those InjectionPoints.
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Basic Object.equals(Object) but must use all of the get methods from this interface to maintain compatibility. |
Type |
getExceptionType()
Obtains the handled event type. |
int |
getPrecedence()
Obtains the precedence of the handler. |
Set<Annotation> |
getQualifiers()
Obtains the set of handled event qualifiers. |
TraversalMode |
getTraversalMode()
Obtains the direction of the traversal path the handler will be listening. |
int |
hashCode()
|
void |
notify(CaughtException<T> event,
BeanManager bm)
Calls the handler method, passing the given event object. |
| Method Detail |
|---|
Set<Annotation> getQualifiers()
Type getExceptionType()
void notify(CaughtException<T> event,
BeanManager bm)
event - event to pass to the handler.bm - Active BeanManagerTraversalMode getTraversalMode()
int getPrecedence()
boolean equals(Object o)
Object.equals(Object) but must use all of the get methods from this interface to maintain compatibility.
equals in class Objecto - Object being compared to this.
int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||