|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.larsan.urd.impl.ClientContext
A wrapper for the Urd JNDI context for the services to use. This class
checks access to the context using the ContextPermission
class before executing any methods.
Services are located using their service box name. And the box will then be asked for
the ServiceHandle which is returned.
This class is not synchronized.
| Constructor Summary | |
ClientContext(ContextBase context)
|
|
| Method Summary | |
void |
bind(java.lang.String url,
java.lang.Object object)
Please refer to the Namespace documenation. |
java.lang.String |
getNamespaceID()
Please refer to the Context documenation. |
java.lang.Object |
lookup(java.lang.String url)
Please refer to the Namespace documenation. |
void |
release()
Close this context. |
java.lang.Object |
unbind(java.lang.String url)
Please refer to the Namespace documenation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClientContext(ContextBase context)
| Method Detail |
public java.lang.String getNamespaceID()
Context documenation.
getNamespaceID in interface Contextpublic void release()
public java.lang.Object lookup(java.lang.String url)
Namespace documenation.
lookup in interface Namespaceurl - Norna url address for the object to get
public void bind(java.lang.String url,
java.lang.Object object)
Namespace documenation.
bind in interface Namespaceurl - Norna url address for the object to setobject - Object to setpublic java.lang.Object unbind(java.lang.String url)
Namespace documenation.
unbind in interface Namespaceurl - Norna url address for the object to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||