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

java.lang.Object
  extended byorg.objectweb.fractal.julia.control.binding.OptimizedContainerBindingMixin
All Implemented Interfaces:
BindingController

public abstract class OptimizedContainerBindingMixin
extends Object
implements BindingController

TODO.

Requirements


Field Summary
 Map fcBindings
          TODO.
 
Method Summary
abstract  void _super_bindFc(String clientItfName, Object serverItf)
          The bindFc method overriden by this mixin.
abstract  String[] _super_listFc()
          The listFc method overriden by this mixin.
abstract  Object _super_lookupFc(String clientItfName)
          The lookupFc method overriden by this mixin.
abstract  void _super_unbindFc(String clientItfName)
          The unbindFc method overriden by this mixin.
 void bindFc(String clientItfName, Object serverItf)
          TODO.
 String[] listFc()
          Returns the names of the client interfaces of the component to which this interface belongs.
 Object lookupFc(String clientItfName)
          TODO.
 void unbindFc(String clientItfName)
          TODO.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fcBindings

public Map fcBindings
TODO.

Method Detail

listFc

public String[] listFc()
Description copied from interface: BindingController
Returns the names of the client interfaces of the component to which this interface belongs.

Specified by:
listFc in interface BindingController
Returns:
the names of the client interfaces of the component to which this interface belongs.

lookupFc

public Object lookupFc(String clientItfName)
                throws NoSuchInterfaceException
TODO.

Specified by:
lookupFc in interface BindingController
Parameters:
clientItfName - the name of a client interface of the component to which this interface belongs.
Returns:
the server interface to which the given interface is bound, or null if it is not bound.
Throws:
NoSuchInterfaceException - if the component to which this interface belongs does not have a client interface whose name is equal to the given name.

bindFc

public void bindFc(String clientItfName,
                   Object serverItf)
            throws NoSuchInterfaceException,
                   IllegalBindingException,
                   IllegalLifeCycleException
TODO.

Specified by:
bindFc in interface BindingController
Parameters:
clientItfName - the name of a client interface of the component to which this interface belongs.
serverItf - a server interface.
Throws:
IllegalLifeCycleException - if this component has a LifeCycleController interface, but it is not in an appropriate state to perform this operation.
NoSuchInterfaceException - if there is no such client interface.
IllegalBindingException - if the binding cannot be created.

unbindFc

public void unbindFc(String clientItfName)
              throws NoSuchInterfaceException,
                     IllegalBindingException,
                     IllegalLifeCycleException
TODO.

Specified by:
unbindFc in interface BindingController
Parameters:
clientItfName - the name of a client interface of the component to which this interface belongs.
Throws:
NoSuchInterfaceException - if there is no such client interface.
IllegalBindingException - if the binding cannot be removed.
IllegalLifeCycleException - if this component has a LifeCycleController interface, but it is not in an appropriate state to perform this operation.

_super_listFc

public abstract String[] _super_listFc()
The listFc method overriden by this mixin.


_super_lookupFc

public abstract Object _super_lookupFc(String clientItfName)
                                throws NoSuchInterfaceException
The lookupFc method overriden by this mixin.

Throws:
NoSuchInterfaceException

_super_bindFc

public abstract void _super_bindFc(String clientItfName,
                                   Object serverItf)
                            throws NoSuchInterfaceException,
                                   IllegalBindingException,
                                   IllegalLifeCycleException
The bindFc method overriden by this mixin.

Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException

_super_unbindFc

public abstract void _super_unbindFc(String clientItfName)
                              throws NoSuchInterfaceException,
                                     IllegalBindingException,
                                     IllegalLifeCycleException
The unbindFc method overriden by this mixin.

Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException