org.objectweb.dream.control.binding
Interface ContextualBindingController

All Superinterfaces:
BindingController
All Known Implementing Classes:
AbstractComponent, AbstractDelegatingMessageCodecImpl, AbstractSchedulerManager, CodecManagerImpl, CodecRepositoryImpl, ContainerContextualBindingControllerMixin, MessageCodecHelperCompositeMessageDataStreamImpl, MessageCodecHelperObjectStreamImpl, MessageCodecPrimitiveObjectStreamImpl, MessageCreatorBasicImpl, MessageManagerImpl, MessageManagerPoolingImpl, MetaSchedulerManagerImpl, ObjectPoolDebugImpl, ObjectPoolImpl, ObjectPoolSoftReferenceImpl, PeriodicSchedulerImpl, PeriodicSchedulerManagerImpl, PushToPush1Impl, TaskManagerImpl, ThreadManagerImpl, ThreadPerTaskSchedulerManagerImpl, ThreadPoolPerTaskSchedulerManagerImpl

public interface ContextualBindingController
extends BindingController

A component interface to control the bindings of the component to which it belongs. It is implicitely assumed here that the component's type system makes a distinction between "client" and "server" interfaces. This interface extends the BindingControllerinterface with a method allowing the binding of two components with associated contextual information.


Method Summary
 void bindFc(String clientItfName, Object serverItf, Object hints)
          Binds the client interface whose name is given to a server interface.
 
Methods inherited from interface org.objectweb.fractal.api.control.BindingController
bindFc, listFc, lookupFc, unbindFc
 

Method Detail

bindFc

void bindFc(String clientItfName,
            Object serverItf,
            Object hints)
            throws NoSuchInterfaceException,
                   IllegalBindingException,
                   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. Contextual information can be given using the hints parameter.

Parameters:
clientItfName - the name of a client interface of the component to which this interface belongs.
serverItf - a server interface.
hints - contextual information.
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.


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