public interface HandlerMethodStorage
HandlerMethod instances.| Modifier and Type | Method and Description |
|---|---|
Collection<org.apache.deltaspike.core.api.exception.control.HandlerMethod<? extends Throwable>> |
getHandlersForException(Type exceptionClass,
javax.enterprise.inject.spi.BeanManager bm,
Set<Annotation> handlerQualifiers,
boolean isBefore)
Obtains the applicable handlers for the given type or super type of the given type to order the handlers.
|
<T extends Throwable> |
registerHandlerMethod(org.apache.deltaspike.core.api.exception.control.HandlerMethod<T> handlerMethod)
Registers the given handlerMethod to the storage.
|
<T extends Throwable> void registerHandlerMethod(org.apache.deltaspike.core.api.exception.control.HandlerMethod<T> handlerMethod)
handlerMethod - HandlerMethod implementation to register with the storageCollection<org.apache.deltaspike.core.api.exception.control.HandlerMethod<? extends Throwable>> getHandlersForException(Type exceptionClass, javax.enterprise.inject.spi.BeanManager bm, Set<Annotation> handlerQualifiers, boolean isBefore)
exceptionClass - Type of exception to narrow handler listbm - active BeanManagerhandlerQualifiers - additional handlerQualifiers to limit handlersisBefore - traversal limiterCopyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.