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

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

public abstract class LifeCycleBindingMixin
extends Object
implements BindingController

Provides life cycle related checks to a BindingController.

Requirements


Field Summary
 Component _this_weaveableOptC
          The weaveableOptC field required by this mixin.
 LifeCycleController _this_weaveableOptLC
          The weaveableOptLC field required by this mixin.
 
Method Summary
abstract  void _super_unbindFc(String clientItfName)
          The unbindFc method overriden by this mixin.
 void unbindFc(String clientItfName)
          Checks that the component is stopped and then calls the overriden method.
 
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
 

Field Detail

_this_weaveableOptC

public Component _this_weaveableOptC
The weaveableOptC field required by this mixin. This field is supposed to reference the Component interface of the component to which this controller object belongs.


_this_weaveableOptLC

public LifeCycleController _this_weaveableOptLC
The weaveableOptLC field required by this mixin. This field is supposed to reference the LifeCycleController interface of the component to which this controller object belongs.

Method Detail

unbindFc

public void unbindFc(String clientItfName)
              throws NoSuchInterfaceException,
                     IllegalBindingException,
                     IllegalLifeCycleException
Checks that the component is stopped and then calls the overriden method.

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_unbindFc

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

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.