org.objectweb.fractal.aokell.lib
Class InterfaceImpl

java.lang.Object
  extended by org.objectweb.fractal.aokell.lib.InterfaceImpl
All Implemented Interfaces:
Interface
Direct Known Subclasses:
ComponentImpl, ComponentInterfaceImpl

public class InterfaceImpl
extends Object
implements Interface

Default implementation of the Interface interface. This class is extended by classes which implement component interfaces.

Author:
Lionel Seinturier

Field Summary
protected  BindingController bc
          The binding controller associated to the owner of this interface.
protected  Object fcContent
           
 
Constructor Summary
InterfaceImpl()
           
InterfaceImpl(Component fcItfOwner, String fcItfName, Type fcItfType, boolean fcInternalItf)
           
 
Method Summary
static InterfaceImpl clone(InterfaceImpl src)
          Return a clone of the given InterfaceImpl.
 String getFcItfName()
           
 Component getFcItfOwner()
           
 Type getFcItfType()
           
 void init(Component fcItfOwner, String fcItfName, Type fcItfType, boolean fcInternalItf)
           
 boolean isFcInternalItf()
           
 Object lookupFc()
          If this interface can play the role of the source interface in a binding, return the target interface currently bound to it (if there is one.)
protected  void setBC()
           
 void setFcInternalItf(boolean fcInternalItf)
           
 void setFcItfImpl(Object fcContent)
           
 void setFcItfName(String fcItfName)
           
 void setFcItfOwner(Component fcItfOwner)
           
 void setFcItfType(Type fcItfType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fcContent

protected Object fcContent

bc

protected BindingController bc
The binding controller associated to the owner of this interface.

Constructor Detail

InterfaceImpl

public InterfaceImpl(Component fcItfOwner,
                     String fcItfName,
                     Type fcItfType,
                     boolean fcInternalItf)

InterfaceImpl

public InterfaceImpl()
Method Detail

init

public void init(Component fcItfOwner,
                 String fcItfName,
                 Type fcItfType,
                 boolean fcInternalItf)

getFcItfOwner

public Component getFcItfOwner()
Specified by:
getFcItfOwner in interface Interface

getFcItfName

public String getFcItfName()
Specified by:
getFcItfName in interface Interface

getFcItfType

public Type getFcItfType()
Specified by:
getFcItfType in interface Interface

isFcInternalItf

public boolean isFcInternalItf()
Specified by:
isFcInternalItf in interface Interface

setFcItfImpl

public void setFcItfImpl(Object fcContent)

lookupFc

public Object lookupFc()
If this interface can play the role of the source interface in a binding, return the target interface currently bound to it (if there is one.) Client interfaces or server interfaces owned by a composite can play the role of the source interface in a binding.


setBC

protected void setBC()

setFcItfOwner

public void setFcItfOwner(Component fcItfOwner)

setFcItfName

public void setFcItfName(String fcItfName)

setFcItfType

public void setFcItfType(Type fcItfType)

setFcInternalItf

public void setFcInternalItf(boolean fcInternalItf)

clone

public static InterfaceImpl clone(InterfaceImpl src)
Return a clone of the given InterfaceImpl.