org.objectweb.dream.control.binding
Class BasicCompositeBindingMixin

java.lang.Object
  extended by org.objectweb.dream.control.binding.BasicCompositeBindingMixin

public abstract class BasicCompositeBindingMixin
extends Object

Provides ComponentInterface management to a BindingController.

Requirements


Field Summary
 BasicContentController _this_weaveableBCC
          The weaveableBCC field required by this mixin.
 Component _this_weaveableC
          The weaveableC field required by this mixin.
 
Method Summary
abstract  void _super_bindFc(InterfaceType clientItfType, String clientItfName, Object serverItf)
          The bindFc method overridden by this mixin.
abstract  void _super_unbindFc(InterfaceType clientItfType, String clientItfName)
          The unbindFc method overridden by this mixin.
 void bindFc(InterfaceType clientItfType, String clientItfName, Object serverItf)
          Calls the overridden method and then updates the getFcItfImpl link (or the getFcItfDelegate link of the corresponding interceptor) of the clientItfName interface to serverItf.
 void unbindFc(InterfaceType clientItfType, String clientItfName)
          Calls the overridden method and then updates the getFcItfImpl link (or the getFcItfDelegate link of the corresponding interceptor) of the clientItfName interface to null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_this_weaveableC

public Component _this_weaveableC
The weaveableC field required by this mixin. This field is supposed to reference the Componentinterface of the component to which this controller object belongs.


_this_weaveableBCC

public BasicContentController _this_weaveableBCC
The weaveableBCC field required by this mixin. This field is supposed to reference the BasicContentControllerinterface of the component to which this controller object belongs.

Method Detail

bindFc

public void bindFc(InterfaceType clientItfType,
                   String clientItfName,
                   Object serverItf)
            throws NoSuchInterfaceException,
                   IllegalBindingException,
                   IllegalLifeCycleException
Calls the overridden method and then updates the getFcItfImpl link (or the getFcItfDelegate link of the corresponding interceptor) of the clientItfName interface to serverItf.

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

unbindFc

public void unbindFc(InterfaceType clientItfType,
                     String clientItfName)
              throws NoSuchInterfaceException,
                     IllegalBindingException,
                     IllegalLifeCycleException
Calls the overridden method and then updates the getFcItfImpl link (or the getFcItfDelegate link of the corresponding interceptor) of the clientItfName interface to null.

Parameters:
clientItfType - the type of the clientItfName interface.
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_bindFc

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

Parameters:
clientItfType - the type of the clientItfName interface.
clientItfName - the name of a client interface of the component to which this interface belongs.
serverItf - a server interface.
Throws:
NoSuchInterfaceException - if there is no such client interface.
IllegalBindingException - if the binding cannot be created.
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(InterfaceType clientItfType,
                                     String clientItfName)
                              throws NoSuchInterfaceException,
                                     IllegalBindingException,
                                     IllegalLifeCycleException
The unbindFc method overridden by this mixin.

Parameters:
clientItfType - the type of the clientItfName interface.
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.


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.