@Contract public interface InterceptionService
| Modifier and Type | Method and Description |
|---|---|
List<ConstructorInterceptor> |
getConstructorInterceptors(Constructor<?> constructor)
The single chosen constructor of a service that passes the
getDescriptorFilter() method will be passed
to this method to determine if it will intercepted |
Filter |
getDescriptorFilter()
If the given filter returns true then the methods
of the service will be passed to
getMethodInterceptors(java.lang.reflect.Method)
to determine if a method will be intercepted. |
List<MethodInterceptor> |
getMethodInterceptors(Method method)
Each non-final method of a service that passes the
getDescriptorFilter() method will be passed
to this method to determine if it will intercepted |
Filter getDescriptorFilter()
getMethodInterceptors(java.lang.reflect.Method)
to determine if a method will be intercepted. It may
be the case that the descriptor is NOT yet reified, and
this method should not reify itList<MethodInterceptor> getMethodInterceptors(Method method)
getDescriptorFilter() method will be passed
to this method to determine if it will interceptedmethod - A non-final method that may
be interceptedList<ConstructorInterceptor> getConstructorInterceptors(Constructor<?> constructor)
getDescriptorFilter() method will be passed
to this method to determine if it will interceptedconstructor - A constructor that may
be interceptedCopyright © 2009-2013 Oracle Corporation. All Rights Reserved.