Class SearchContextInterceptor

java.lang.Object
org.jboss.arquillian.graphene.enricher.SearchContextInterceptor
All Implemented Interfaces:
Interceptor

public class SearchContextInterceptor extends Object implements Interceptor
Author:
Jan Papousek
  • Constructor Details

    • SearchContextInterceptor

      public SearchContextInterceptor()
  • Method Details

    • intercept

      public Object intercept(InvocationContext context) throws Throwable
      Description copied from interface: Interceptor
      When processing custom logic must satisfy, that at least once will be called method InvocationContext.invoke().
      Specified by:
      intercept in interface Interceptor
      Parameters:
      context - the current invocation context
      Returns:
      the result of invocation
      Throws:
      Throwable
    • methodsEqual

      protected static boolean methodsEqual(Method first, Method second)
    • getPrecedence

      public int getPrecedence()
      Description copied from interface: Interceptor
      Determines a priority by which this interceptor should be invoked when intercepting. The smaller the precedence is, the later in the life-cycle the interceptor is invoked. It can return negative, 0, or positive values. Graphene default interceptors have 0 precedence.
      Specified by:
      getPrecedence in interface Interceptor
      Returns: