org.ow2.jasmine.jade.reflex.api.control
Interface BindingNotificationController

All Known Implementing Classes:
ReflexBindingMixin

public interface BindingNotificationController

This interface is used to notify a binding update between the meta and the exec level (and vice versa).

Author:
Noel de palma

Method Summary
 void bindFcNotification(java.lang.String clientItfName, java.lang.Object serverItf)
          Binds the client interface whose name is given to a server interface.
 void unbindFcNotification(java.lang.String clientItfName)
          Unbinds the given client interface.
 

Method Detail

bindFcNotification

void bindFcNotification(java.lang.String clientItfName,
                        java.lang.Object serverItf)
                        throws org.objectweb.fractal.api.NoSuchInterfaceException,
                               org.objectweb.fractal.api.control.IllegalBindingException,
                               org.objectweb.fractal.api.control.IllegalLifeCycleException
Binds the client interface whose name is given to a server interface. More precisely, binds the client interface of the component to which this interface belongs, and whose name is equal to the given name, to the given server interface. The given server interface must be in the same address space as the client interface.

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

unbindFcNotification

void unbindFcNotification(java.lang.String clientItfName)
                          throws org.objectweb.fractal.api.NoSuchInterfaceException,
                                 org.objectweb.fractal.api.control.IllegalBindingException,
                                 org.objectweb.fractal.api.control.IllegalLifeCycleException
Unbinds the given client interface. More precisely, unbinds the client interface of the component to which this interface belongs, and whose name is equal to the given name.

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


Copyright © 2008 OW2 Consortium. All Rights Reserved.