|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HandlerMethod<T extends Throwable>
| Method Summary | |
|---|---|
javax.enterprise.inject.spi.Bean<?> |
getBean(javax.enterprise.inject.spi.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. |
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. |
TraversalPath |
getTraversalPath()
Obtains the direction of the traversal path the handler will be listening. |
void |
notify(CaughtException<T> event,
javax.enterprise.inject.spi.BeanManager bm)
Calls the handler method, passing the given event object. |
| Method Detail |
|---|
Class<?> getBeanClass()
javax.enterprise.inject.spi.Bean<?> getBean(javax.enterprise.inject.spi.BeanManager bm)
bm - Active BeanManagerSet<Annotation> getQualifiers()
Type getExceptionType()
void notify(CaughtException<T> event,
javax.enterprise.inject.spi.BeanManager bm)
event - event to pass to the handler.bm - Active BeanManagerTraversalPath getTraversalPath()
int getPrecedence()
Method getJavaMethod()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||