org.objectweb.fractal.juliak.control.interceptor
Interface InterceptorController

All Known Implementing Classes:
InterceptorCompControllerImpl, InterceptorControllerMixin

public interface InterceptorController

Interface for managing the interceptors associated with the client and server interfaces of a component.

Since:
2.5
Author:
Lionel Seinturier

Field Summary
static String NAME
           
static InterfaceType TYPE
           
 
Method Summary
 void addFcInterceptor(ComponentInterface itf, Interceptor interceptor)
          Appends the specified interceptor at the end of the list of already existing interceptors for the specified Fractal interface.
 Interceptor[] getFcInterceptors(ComponentInterface itf)
          Returns the array of interceptors associated to the specified Fractal interface.
 boolean removeFcInterceptor(ComponentInterface itf, Interceptor interceptor)
          Removes the specified interceptor from the list of already existing interceptors for the specified Fractal interface.
 

Field Detail

NAME

static final String NAME
See Also:
Constant Field Values

TYPE

static final InterfaceType TYPE
Method Detail

addFcInterceptor

void addFcInterceptor(ComponentInterface itf,
                      Interceptor interceptor)
Appends the specified interceptor at the end of the list of already existing interceptors for the specified Fractal interface.

Parameters:
itf - the Fractal interface
interceptor - the interceptor

getFcInterceptors

Interceptor[] getFcInterceptors(ComponentInterface itf)
Returns the array of interceptors associated to the specified Fractal interface.

Parameters:
itf - the Fractal interface
Returns:
the array of interceptors

removeFcInterceptor

boolean removeFcInterceptor(ComponentInterface itf,
                            Interceptor interceptor)
Removes the specified interceptor from the list of already existing interceptors for the specified Fractal interface.

Parameters:
itf - the Fractal interface
interceptor - the interceptor
Returns:
true if the list contained the specified interceptor