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
Field Summary |
protected java.util.Hashtable |
groupBindings
|
protected static org.apache.log4j.Logger |
logger
|
Method Summary |
void |
addBinding(Binding binding)
|
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
implementation of the interface BindingController
see BindingController.bindFc(java.lang.String, java.lang.Object) |
protected void |
checkBindability(java.lang.String clientItfName,
Interface serverItf)
|
protected void |
checkUnbindability(java.lang.String clientItfName)
|
protected boolean |
existsBinding(java.lang.String clientItfName)
|
protected boolean |
existsClientInterface(java.lang.String clientItfName)
|
java.lang.Object |
getBinding(java.lang.String clientItfName)
|
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
see BindingController.lookupFc(String) |
java.lang.Object |
removeBinding(java.lang.String clientItfName)
|
void |
unbindFc(java.lang.String clientItfName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.apache.log4j.Logger logger
groupBindings
protected java.util.Hashtable groupBindings
ProActiveBindingController
public ProActiveBindingController(Component owner)
addBinding
public void addBinding(Binding binding)
existsBinding
protected boolean existsBinding(java.lang.String clientItfName)
existsClientInterface
protected boolean existsClientInterface(java.lang.String clientItfName)
checkBindability
protected void checkBindability(java.lang.String clientItfName,
Interface serverItf)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
checkUnbindability
protected void checkUnbindability(java.lang.String clientItfName)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
removeBinding
public java.lang.Object removeBinding(java.lang.String clientItfName)
- Returns:
- a Binding object if single binding, Vector of Binding objects otherwise
getBinding
public java.lang.Object getBinding(java.lang.String clientItfName)
- Returns:
- a Binding object if single binding, Vector of Binding objects otherwise
lookupFc
public java.lang.Object lookupFc(java.lang.String clientItfName)
throws NoSuchInterfaceException
- see
BindingController.lookupFc(String)
- Specified by:
lookupFc
in interface BindingController
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
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
unbindFc
public void unbindFc(java.lang.String clientItfName)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- Specified by:
unbindFc
in interface BindingController
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
Copyright © April 2004 INRIA All Rights Reserved.