REGISTRY_PORT
Modifier | Constructor and Description |
---|---|
protected |
IxcRegistry() |
Modifier and Type | Method and Description |
---|---|
abstract void |
bind(String name,
Remote obj)
Binds a remote reference to the specified
name in
this registry. |
static IxcRegistry |
getRegistry(XletContext context) |
abstract String[] |
list()
Returns an array of the names bound in this registry.
|
abstract Remote |
lookup(String name)
Returns the remote reference bound to the specified
name in this registry. |
abstract void |
rebind(String name,
Remote obj)
Replaces the binding for the specified
name in
this registry with the supplied remote reference. |
abstract void |
unbind(String name)
Removes the binding for the specified
name in
this registry. |
abstract void |
unbindAll() |
public static IxcRegistry getRegistry(XletContext context)
public abstract void bind(String name, Remote obj) throws StubException, AlreadyBoundException
Registry
name
in
this registry.bind
in interface Registry
name
- the name to associate with the remote referenceobj
- a reference to a remote object (usually a stub)AlreadyBoundException
- if name
is already boundStubException
public abstract String[] list()
Registry
public abstract Remote lookup(String name) throws StubException, NotBoundException
Registry
name
in this registry.lookup
in interface Registry
name
- the name for the remote reference to look upNotBoundException
- if name
is not currently boundStubException
public abstract void rebind(String name, Remote obj) throws StubException, AccessException
Registry
name
in
this registry with the supplied remote reference. If there is
an existing binding for the specified name
, it is
discarded.rebind
in interface Registry
name
- the name to associate with the remote referenceobj
- a reference to a remote object (usually a stub)AccessException
- if this registry is local and it denies
the caller access to perform this operationStubException
public abstract void unbind(String name) throws NotBoundException, AccessException
Registry
name
in
this registry.unbind
in interface Registry
name
- the name of the binding to removeNotBoundException
- if name
is not currently boundAccessException
- if this registry is local and it denies
the caller access to perform this operationpublic abstract void unbindAll()