org.objectweb.fractal.julia
Class InterceptorInterface

java.lang.Object
  extended byorg.objectweb.fractal.julia.InterceptorInterface
All Implemented Interfaces:
Controller, Interceptor, Interface

public abstract class InterceptorInterface
extends Object
implements Interceptor, Interface

An Interface that is also an Interceptor. The methods of this class are implemented by forwarding calls to the getFcItfDelegate object (which must therefore be an Interface). This class can be used as a super class to generate output interceptors for primitive components.


Constructor Summary
InterceptorInterface()
           
 
Method Summary
abstract  Object clone()
          Clones this interceptor object.
 String getFcItfName()
          Returns the name of this interface inside its component.
 Component getFcItfOwner()
          Returns the component to which this interface belongs.
 Type getFcItfType()
          Returns the type of this interface.
 boolean isFcInternalItf()
          Returns true if this interface is an internal interface.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.fractal.julia.Interceptor
getFcItfDelegate, setFcItfDelegate
 
Methods inherited from interface org.objectweb.fractal.julia.Controller
initFcController
 

Constructor Detail

InterceptorInterface

public InterceptorInterface()
Method Detail

getFcItfOwner

public Component getFcItfOwner()
Description copied from interface: Interface
Returns the component to which this interface belongs.

Specified by:
getFcItfOwner in interface Interface
Returns:
the Component interface of the component to which this interface belongs.

getFcItfName

public String getFcItfName()
Description copied from interface: Interface
Returns the name of this interface inside its component. This name is "unique" inside the component: more precisely, all the external interfaces of the component have distinct names, as well as all its internal interfaces. However an internal interface can have the same name as an external interface. Of course, two interfaces in two distinct components can also have the same name.

Specified by:
getFcItfName in interface Interface
Returns:
the name of this interface inside its component.

getFcItfType

public Type getFcItfType()
Description copied from interface: Interface
Returns the type of this interface. The type system is not specified here, in order to allow many type systems to be used. The basic type system specified in the org.objectweb.fractal.api.type package should be sufficient in most cases, but another one can be used if necessary.

Specified by:
getFcItfType in interface Interface
Returns:
the type of this interface.

isFcInternalItf

public boolean isFcInternalItf()
Description copied from interface: Interface
Returns true if this interface is an internal interface.

Specified by:
isFcInternalItf in interface Interface
Returns:
true if this interface is an internal interface.

clone

public abstract Object clone()
Description copied from interface: Interceptor
Clones this interceptor object. This method declaration is needed because the clone method is not defined in J2ME (CLDC profile).

Specified by:
clone in interface Interceptor