org.objectweb.proactive.core.component
Class Bindings

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

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

A bindings container. This class stores the following bindings for a given component :

Author:
Matthieu Morel
See Also:
Serialized Form

Constructor Summary
Bindings()
           
 
Method Summary
 void add(Binding binding)
           
 boolean containsBindingOn(java.lang.String clientItfName)
          tests if binding exists on the given interface
 java.lang.Object get(java.lang.String clientItfName)
          Method get.
 java.lang.String[] getExternalClientBindings()
          Returns the names of the external client bindings for this component.
 java.lang.Object remove(java.lang.String clientItfName)
          removes the binding on the given client interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bindings

public Bindings()
Method Detail

add

public void add(Binding binding)
Parameters:
binding - the binding to add

remove

public java.lang.Object remove(java.lang.String clientItfName)
removes the binding on the given client interface

Parameters:
clientItfName - String name of the binding
Returns:
Object binding that was removed

get

public java.lang.Object get(java.lang.String clientItfName)
Method get.

Parameters:
clientItfName - String
Returns:
Object

containsBindingOn

public boolean containsBindingOn(java.lang.String clientItfName)
tests if binding exists on the given interface

Parameters:
clientItfName - the client inteface to check
Returns:
true if binding exists

getExternalClientBindings

public java.lang.String[] getExternalClientBindings()
Returns the names of the external client bindings for this component. In case of a collective interface, the names of each of its constituing interfaces are not returned ; only the name of the collective interface is returned.



Copyright 2001-2005 INRIA All Rights Reserved.