T
- Exception for which this handler is responsiblepublic interface HandlerMethod<T extends Throwable>
InjectionPoint
s and to
validate those InjectionPoint
s.Modifier and Type | Method and Description |
---|---|
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 |
getOrdinal()
Obtains the precedence of the handler, relative to other handlers for the same type.
|
Set<java.lang.annotation.Annotation> |
getQualifiers()
Obtains the set of handled event qualifiers.
|
int |
hashCode() |
boolean |
isBeforeHandler()
Flag indicating this handler should be invoked during the before traversal.
|
void |
notify(ExceptionEvent<T> event,
javax.enterprise.inject.spi.BeanManager beanManager)
Calls the handler method, passing the given event object.
|
Set<java.lang.annotation.Annotation> getQualifiers()
Type getExceptionType()
boolean isBeforeHandler()
void notify(ExceptionEvent<T> event, javax.enterprise.inject.spi.BeanManager beanManager) throws Exception
event
- event to pass to the handler.beanManager
- The BeanManager to useException
int getOrdinal()
boolean equals(Object o)
Object.equals(Object)
but must use all of the get methods from this interface to
maintain compatibility.Copyright © 2015 The Apache Software Foundation. All rights reserved.