org.objectweb.fractal.julia.control.binding
Class ContainerBindingControllerMixin

java.lang.Object
  extended by org.objectweb.fractal.julia.control.binding.ContainerBindingControllerMixin
All Implemented Interfaces:
BindingController, Controller

public abstract class ContainerBindingControllerMixin
extends Object
implements Controller, BindingController

Provides a container based implementation of the BindingController interface. This mixin implements the BindingController methods through delegation to the encapsulated "user component".

Requirements


Field Summary
 Object fcContent
          The "user component" encapsulated in this container component.
 
Method Summary
abstract  void _super_initFcController(InitializationContext ic)
          The initFcController method overriden by this mixin.
 void bindFc(String clientItfName, Object serverItf)
           
 void initFcController(InitializationContext ic)
          Initializes the fields of this mixin and then calls the overriden method.
 String[] listFc()
           
 Object lookupFc(String clientItfName)
           
 void unbindFc(String clientItfName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fcContent

public Object fcContent
The "user component" encapsulated in this container component.

Method Detail

initFcController

public void initFcController(InitializationContext ic)
                      throws InstantiationException
Initializes the fields of this mixin and then calls the overriden method.

Specified by:
initFcController in interface Controller
Parameters:
ic - information about the component to which this controller object belongs.
Throws:
InstantiationException - if the initialization fails.

listFc

public String[] listFc()
Specified by:
listFc in interface BindingController

lookupFc

public Object lookupFc(String clientItfName)
                throws NoSuchInterfaceException
Specified by:
lookupFc in interface BindingController
Throws:
NoSuchInterfaceException

bindFc

public void bindFc(String clientItfName,
                   Object serverItf)
            throws NoSuchInterfaceException,
                   IllegalBindingException,
                   IllegalLifeCycleException
Specified by:
bindFc in interface BindingController
Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException

unbindFc

public void unbindFc(String clientItfName)
              throws NoSuchInterfaceException,
                     IllegalBindingException,
                     IllegalLifeCycleException
Specified by:
unbindFc in interface BindingController
Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException

_super_initFcController

public abstract void _super_initFcController(InitializationContext ic)
                                      throws InstantiationException
The initFcController method overriden by this mixin.

Parameters:
ic - information about the component to which this controller object belongs.
Throws:
InstantiationException - if the initialization fails.