public static class InterceptorResolutionService.BusinessMethodInterceptorInfo extends Object
Constructor and Description |
---|
BusinessMethodInterceptorInfo() |
Modifier and Type | Method and Description |
---|---|
javax.enterprise.inject.spi.Interceptor<?>[] |
getCdiInterceptors()
The (sorted) CDI Interceptor Beans for a specific method or
null
if no Interceptor exists for this method. |
javax.enterprise.inject.spi.Interceptor<?>[] |
getEjbInterceptors()
The (sorted) EJB-style (
Interceptors )
Interceptor Beans for a specific method or null
if no Interceptor exists for this method. |
LinkedHashMap<javax.enterprise.inject.spi.Decorator<?>,Method> |
getMethodDecorators()
The (sorted) Decorator Beans for a specific method or
null
if no Decorator exists for this method. |
boolean |
isEmpty()
Determine if any interceptor information has been set at all.
|
void |
setCdiInterceptors(List<javax.enterprise.inject.spi.Interceptor<?>> cdiInterceptors) |
void |
setEjbInterceptors(List<javax.enterprise.inject.spi.Interceptor<?>> ejbInterceptors) |
void |
setMethodDecorators(LinkedHashMap<javax.enterprise.inject.spi.Decorator<?>,Method> methodDecorators) |
public javax.enterprise.inject.spi.Interceptor<?>[] getEjbInterceptors()
Interceptors
)
Interceptor Beans for a specific method or null
if no Interceptor exists for this method.
They must be called before the cdiInterceptors
!public javax.enterprise.inject.spi.Interceptor<?>[] getCdiInterceptors()
null
if no Interceptor exists for this method.public LinkedHashMap<javax.enterprise.inject.spi.Decorator<?>,Method> getMethodDecorators()
null
if no Decorator exists for this method.
This Map is sorted!
Key: the Decorator Bean
Value: the decorating method from the decorator instancepublic void setCdiInterceptors(List<javax.enterprise.inject.spi.Interceptor<?>> cdiInterceptors)
public void setMethodDecorators(LinkedHashMap<javax.enterprise.inject.spi.Decorator<?>,Method> methodDecorators)
public void setEjbInterceptors(List<javax.enterprise.inject.spi.Interceptor<?>> ejbInterceptors)
public boolean isEmpty()
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.