Class WrapsElementInterceptor
java.lang.Object
org.jboss.arquillian.graphene.enricher.WrapsElementInterceptor
- All Implemented Interfaces:
Interceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDetermines a priority by which this interceptor should be invoked when intercepting.intercept(InvocationContext context) When processing custom logic must satisfy, that at least once will be called methodInvocationContext.invoke().
-
Constructor Details
-
WrapsElementInterceptor
-
-
Method Details
-
intercept
Description copied from interface:InterceptorWhen processing custom logic must satisfy, that at least once will be called methodInvocationContext.invoke().- Specified by:
interceptin interfaceInterceptor- Parameters:
context- the current invocation context- Returns:
- the result of invocation
- Throws:
Throwable
-
getPrecedence
public int getPrecedence()Description copied from interface:InterceptorDetermines 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:
getPrecedencein interfaceInterceptor- Returns:
-