|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HandlerMethod<T extends Throwable>
| Method Summary | |
|---|---|
Bean<?> |
getBean(BeanManager bm)
Obtains the Bean reference that declares the observer method. |
Class<?> |
getBeanClass()
Obtains the bean class of the bean that declares the observer method. |
Type |
getExceptionType()
Obtains the handled event type. |
AnnotatedParameter<?> |
getHandlerParameter()
Obtains the actual parameter defining this as a handler. |
Method |
getJavaMethod()
Obtains the actual method of the handler. |
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. |
void |
notify(CaughtException<T> event,
BeanManager bm)
Calls the handler method, passing the given event object. |
| Method Detail |
|---|
Class<?> getBeanClass()
Bean<?> getBean(BeanManager bm)
bm - Active BeanManagerSet<Annotation> getQualifiers()
Type getExceptionType()
void notify(CaughtException<T> event,
BeanManager bm)
event - event to pass to the handler.bm - Active BeanManagerTraversalMode getTraversalMode()
int getPrecedence()
Method getJavaMethod()
AnnotatedParameter<?> getHandlerParameter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||