org.objectweb.fractal.aokell.lib.control.binding
Class CompositeBindingControllerImpl

java.lang.Object
  extended by org.objectweb.fractal.aokell.lib.control.binding.AbstractBindingControllerImpl
      extended by org.objectweb.fractal.aokell.lib.control.binding.PrimitiveBindingControllerImpl
          extended by org.objectweb.fractal.aokell.lib.control.binding.CompositeBindingControllerImpl
All Implemented Interfaces:
Controller, BindingController
Direct Known Subclasses:
CompositeAutoBindingControllerImpl, CompositeTemplateBindingControllerImpl

public class CompositeBindingControllerImpl
extends PrimitiveBindingControllerImpl
implements BindingController

Implementation of the binding controller for composite components.

Author:
Lionel Seinturier

Field Summary
 
Fields inherited from class org.objectweb.fractal.aokell.lib.control.binding.AbstractBindingControllerImpl
compctrl
 
Constructor Summary
CompositeBindingControllerImpl()
           
 
Method Summary
protected  Object[] getFcInterfaces()
           
protected  Interface registerFcInterface(String interfaceName)
          Register a new interface with the component controller.
protected  void testLegalBinding(Interface srcItf, Object arg1)
          Test whether the given source interface can be bound to the given target interface.
 
Methods inherited from class org.objectweb.fractal.aokell.lib.control.binding.AbstractBindingControllerImpl
bindFc, bindFcContent, cloneFcCtrl, getFcBoundableInterface, initFcCtrl, listFc, lookupFc, setFcCompCtrl, testLifeCyleBeforeUnbinding, toString, unbindFc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.fractal.api.control.BindingController
bindFc, listFc, lookupFc, unbindFc
 

Constructor Detail

CompositeBindingControllerImpl

public CompositeBindingControllerImpl()
Method Detail

testLegalBinding

protected void testLegalBinding(Interface srcItf,
                                Object arg1)
                         throws IllegalBindingException,
                                NoSuchInterfaceException
Test whether the given source interface can be bound to the given target interface.

Overrides:
testLegalBinding in class PrimitiveBindingControllerImpl
Throws:
IllegalBindingException - if the binding is illegal
NoSuchInterfaceException

getFcInterfaces

protected Object[] getFcInterfaces()
Overrides:
getFcInterfaces in class AbstractBindingControllerImpl

registerFcInterface

protected Interface registerFcInterface(String interfaceName)
                                 throws NoSuchInterfaceException
Register a new interface with the component controller. This method is used for registering new instances of a collection interface.

Overrides:
registerFcInterface in class AbstractBindingControllerImpl
Throws:
NoSuchInterfaceException - if the interface is not a collection interface