org.objectweb.proactive.core.component.controller
Class ProActiveBindingControllerImpl
java.lang.Object
org.objectweb.proactive.core.component.controller.AbstractRequestHandler
org.objectweb.proactive.core.component.controller.AbstractProActiveController
org.objectweb.proactive.core.component.controller.ProActiveBindingControllerImpl
- All Implemented Interfaces:
- BindingController, Interface, ProActiveBindingController, ProActiveController, RequestHandler, java.io.Serializable
- public class ProActiveBindingControllerImpl
- extends AbstractProActiveController
- implements ProActiveBindingController, java.io.Serializable
Implementation of the
BindingController
interface.
- 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 |
ProActiveBindingControllerImpl
public ProActiveBindingControllerImpl(Component owner)
setControllerItfType
protected void setControllerItfType()
- Specified by:
setControllerItfType
in class AbstractProActiveController
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
- 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
listFc
public java.lang.String[] listFc()
- Specified by:
listFc
in interface BindingController
- See Also:
In case
of a client collection interface, only the interfaces generated at
runtime and members of the collection are returned (a reference on
the collection interface itself is not returned, because it is just
a typing artifact and does not exist at runtime).
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()
- Returns the interfaces with cardinality equal to single
- Returns:
- a list of the names of the interfaces with single cardinality
isBound
public java.lang.Boolean isBound()
- Specified by:
isBound
in interface ProActiveBindingController
- Returns:
- true if this component is bound on a client interface
Copyright 2001-2005 INRIA All Rights Reserved.