org.apache.myfaces.extensions.cdi.core.impl.spi
Interface InterceptorStrategy

All Superinterfaces:
Serializable

public interface InterceptorStrategy
extends Serializable

Base interface for all interceptor strategies which allow to provide custom implementations for CODI interceptors.

Author:
Gerhard Petracek

Method Summary
 Object execute(javax.interceptor.InvocationContext invocationContext)
          Method which will be invoked by the interceptor method annotated with AroundInvoke
 

Method Detail

execute

Object execute(javax.interceptor.InvocationContext invocationContext)
               throws Exception
Method which will be invoked by the interceptor method annotated with AroundInvoke

Parameters:
invocationContext - current invocation-context
Returns:
result of the intercepted method
Throws:
Exception - exception which might be thrown by the intercepted method


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.