org.objectweb.jonathan.model
Interface binder

All Superinterfaces:
naming_context

public interface binder
extends naming_context

A Binder is a naming context that not only manages names, but can also give access to the object referenced by a name it manages. "Giving access" to a referenced object may be implemented in very different ways, such as setting up an access path to the object (in ODP terminology, creating a binding object), causing the referenced object to move to make it accessible, creating a local replica of the object, etc. Examples of binders include:


Method Summary
 java.lang.Object bind(name name)
          The bind operation is used to, given a name, give access to the object interface it designates.
 
Methods inherited from interface org.objectweb.jonathan.model.naming_context
export, resolve
 

Method Detail

bind

public java.lang.Object bind(name name)
The bind operation is used to, given a name, give access to the object interface it designates. A bind operation takes a name as parameter and returns an object representing the object identified by the specified name. In some cases, it may be the identified object itself, but usually it is a surrogate or proxy, giving access to the identified object in a transparent way.

The bind operation may be borne directly by the name to which it is applied, and/or require additional parameters (e.g., to specify quality of service).