org.objectweb.proactive.core.component.controller
Class ProActiveBindingController
java.lang.Object
org.objectweb.proactive.core.component.controller.ProActiveController
org.objectweb.proactive.core.component.controller.ProActiveBindingController
- All Implemented Interfaces:
- BindingController, Interface, java.io.Serializable
- public class ProActiveBindingController
- extends ProActiveController
- implements BindingController, java.io.Serializable
Abstract implementation of BindingController.
It defines common operations of both primitive and composite binding controllers.
- Author:
- Matthieu Morel
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
groupBindings
protected java.util.Hashtable groupBindings
ProActiveBindingController
public ProActiveBindingController(Component owner)
addBinding
public void addBinding(Binding binding)
checkBindability
protected void checkBindability(java.lang.String clientItfName,
Interface serverItf)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
checkUnbindability
protected void checkUnbindability(java.lang.String clientItfName)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
removeBinding
public java.lang.Object removeBinding(java.lang.String clientItfName)
- Parameters:
clientItfName
- the name of the client interface
- Returns:
- a Binding object if single binding, List of Binding objects otherwise
getBinding
public java.lang.Object getBinding(java.lang.String clientItfName)
- Parameters:
clientItfName
- the name of the client interface
- Returns:
- a Binding object if single binding, List of Binding objects otherwise
lookupFc
public java.lang.Object lookupFc(java.lang.String clientItfName)
throws NoSuchInterfaceException
- see @link org.objectweb.fractal.api.control.BindingController#lookupFc(String)
- Specified by:
lookupFc
in interface BindingController
- Throws:
NoSuchInterfaceException
bindFc
public void bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- implementation of the interface BindingController
see
BindingController.bindFc(java.lang.String, java.lang.Object)
- Specified by:
bindFc
in interface BindingController
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
unbindFc
public void unbindFc(java.lang.String clientItfName)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- Specified by:
unbindFc
in interface BindingController
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
- See Also:
CAREFUL : unbinding action on collective interfaces will remove all the bindings to this interface.
This is also the case when removing bindings from the server interface of a parallel component
(yes you can do unbindFc(parallelServerItfName) !)
listFc
public java.lang.String[] listFc()
- Specified by:
listFc
in interface BindingController
existsBinding
protected boolean existsBinding(java.lang.String clientItfName)
throws NoSuchInterfaceException
- Throws:
NoSuchInterfaceException
checkClientInterfaceName
protected void checkClientInterfaceName(java.lang.String clientItfName)
throws NoSuchInterfaceException
- Throws:
NoSuchInterfaceException
getSingleInterfacesNames
public java.util.List getSingleInterfacesNames()
Copyright ? October 2004 INRIA All Rights Reserved.