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:
- Object adapters: An object adapter is a specific binder, responsible
for the identification and activation of objects in a given address space;
Object adapters may be used to simply multiplex several objects on a given
network connection, but also to provide properties such as persistence,
or different activation policies.
- ORBs: the essential role of an Object Request Broker, is to
provide a remote access to objects; ORBs are thus specialized binders,
managing distribution-aware names, and providing the means to
bind
these names.
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. |
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).