Module org.glassfish.hk2.extras
Class DefaultInterceptionService
java.lang.Object
org.glassfish.hk2.extras.interception.internal.DefaultInterceptionService
- All Implemented Interfaces:
org.glassfish.hk2.api.InterceptionService
@Singleton
@Visibility(LOCAL)
public class DefaultInterceptionService
extends Object
implements org.glassfish.hk2.api.InterceptionService
A default implementation of the interception service using annotation to
denote services that are to be intercepted and other annotations to match
methods or constructors to interceptors
- Author:
- jwells
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.aopalliance.intercept.ConstructorInterceptor>getConstructorInterceptors(Constructor<?> constructor) org.glassfish.hk2.api.FilterList<org.aopalliance.intercept.MethodInterceptor>getMethodInterceptors(Method method)
-
Constructor Details
-
DefaultInterceptionService
public DefaultInterceptionService()
-
-
Method Details
-
getDescriptorFilter
public org.glassfish.hk2.api.Filter getDescriptorFilter()- Specified by:
getDescriptorFilterin interfaceorg.glassfish.hk2.api.InterceptionService
-
getMethodInterceptors
- Specified by:
getMethodInterceptorsin interfaceorg.glassfish.hk2.api.InterceptionService
-
getConstructorInterceptors
public List<org.aopalliance.intercept.ConstructorInterceptor> getConstructorInterceptors(Constructor<?> constructor) - Specified by:
getConstructorInterceptorsin interfaceorg.glassfish.hk2.api.InterceptionService
-