org.objectweb.proactive.core.component
Class Binding

java.lang.Object
  extended byorg.objectweb.proactive.core.component.Binding
All Implemented Interfaces:
java.io.Serializable

public class Binding
extends java.lang.Object
implements java.io.Serializable

Stores a binding between a client interface and a server interface. Only composite components have their bindings stored in such manner. Primitive component handle their bindings themselves.

Author:
Matthieu Morel
See Also:
Serialized Form

Constructor Summary
Binding(Interface clientInterface, java.lang.String clientItfName, Interface serverInterface)
           
 
Method Summary
 Interface getClientInterface()
           
 java.lang.String getClientInterfaceName()
          In the case of a collective interface, the names of each member of the collection can be different.
 Interface getServerInterface()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Binding

public Binding(Interface clientInterface,
               java.lang.String clientItfName,
               Interface serverInterface)
Parameters:
clientInterface - a reference on a client interface
serverInterface - a reference on a server interface
Method Detail

getClientInterface

public Interface getClientInterface()
Returns:
the client interface

getServerInterface

public Interface getServerInterface()
Returns:
the server interface

getClientInterfaceName

public java.lang.String getClientInterfaceName()
In the case of a collective interface, the names of each member of the collection can be different.

Returns:
the actual name of the client interface, within this collection


Copyright ? April 2005 INRIA All Rights Reserved.