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 Details

    • DefaultInterceptionService

      public DefaultInterceptionService()
  • Method Details

    • getDescriptorFilter

      public org.glassfish.hk2.api.Filter getDescriptorFilter()
      Specified by:
      getDescriptorFilter in interface org.glassfish.hk2.api.InterceptionService
    • getMethodInterceptors

      public List<org.aopalliance.intercept.MethodInterceptor> getMethodInterceptors(Method method)
      Specified by:
      getMethodInterceptors in interface org.glassfish.hk2.api.InterceptionService
    • getConstructorInterceptors

      public List<org.aopalliance.intercept.ConstructorInterceptor> getConstructorInterceptors(Constructor<?> constructor)
      Specified by:
      getConstructorInterceptors in interface org.glassfish.hk2.api.InterceptionService