org.objectweb.fractal.julia
Interface Interceptor

All Superinterfaces:
Controller
All Known Implementing Classes:
InterceptorInterface

public interface Interceptor
extends Controller

An interceptor object, i.e., a Controller object that intercepts method calls. An interceptor does some pre and post computations before and after delegating calls to a "delegate" object.


Method Summary
 Object clone()
          Clones this interceptor object.
 Object getFcItfDelegate()
          Returns the object to which this interceptor delegates method calls.
 void setFcItfDelegate(Object delegate)
          Sets the object to which this interceptor delegates method calls.
 
Methods inherited from interface org.objectweb.fractal.julia.Controller
initFcController
 

Method Detail

getFcItfDelegate

Object getFcItfDelegate()
Returns the object to which this interceptor delegates method calls.

Returns:
the object to which this interceptor delegates method calls.
See Also:
setFcItfDelegate

setFcItfDelegate

void setFcItfDelegate(Object delegate)
Sets the object to which this interceptor delegates method calls.

Parameters:
delegate - the object to which this interceptor delegates method calls.
See Also:
getFcItfDelegate

clone

Object clone()
Clones this interceptor object. This method declaration is needed because the clone method is not defined in J2ME (CLDC profile).

Returns:
a copy of this interceptor object.