Interface SeedInterceptor

  • All Superinterfaces:
    org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

    public interface SeedInterceptor
    extends org.aopalliance.intercept.MethodInterceptor
    Any class implementing this interface will be detected and registered as a method interceptor that can be potentially applied to all object instances managed by SeedStack.
    • Method Detail

      • classPredicate

        Predicate<Class<?>> classPredicate()
        The class predicate which determines classes this interceptor should be applied to.
        Returns:
        the class predicate.
      • methodPredicate

        Predicate<Method> methodPredicate()
        The method predicate which determines method this interceptor should be applied to. Only method of classes matching the classPredicate() are considered.
        Returns:
        the class predicate.