org.ow2.easybeans.api.interceptor
Interface EZBInvocationContextFactory


public interface EZBInvocationContextFactory

Invocation context factory provides the interceptor manager factory and the invocation context generation.

Author:
Florent Benoit

Method Summary
 EasyBeansInvocationContext getContext(EasyBeansBean instance, EZBInterceptorManager interceptorManager, String interceptorType, String methodSignature, Object... parameters)
          Gets an invocation context for the given method.
 EZBInterceptorManagerFactory getInterceptorManagerFactory()
          Gets the interceptor manager factory.
 

Method Detail

getInterceptorManagerFactory

EZBInterceptorManagerFactory getInterceptorManagerFactory()
Gets the interceptor manager factory.

Returns:
an instance of the manager factory

getContext

EasyBeansInvocationContext getContext(EasyBeansBean instance,
                                      EZBInterceptorManager interceptorManager,
                                      String interceptorType,
                                      String methodSignature,
                                      Object... parameters)
Gets an invocation context for the given method.

Parameters:
instance - the bean's instance
interceptorManager - the manager of the interceptors
interceptorType - the type of the interceptor
methodSignature - the key in order to find data for the given method
parameters - the parameters of the method
Returns:
an invocation context implementation


Copyright © 2006-2012 OW2 Consortium. All Rights Reserved.