public class RemoteContextClient extends Object implements EventContext, Serializable
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPEAPPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES| Constructor and Description |
|---|
RemoteContextClient(RemoteContextInterface remoteContext)
constructs a new RemoteContextClient
|
public RemoteContextClient(RemoteContextInterface remoteContext)
remoteContext - the remoteContext on which all calls are passed.public void addNamingListener(Name target, int scope, NamingListener l) throws NamingException
addNamingListener in interface EventContextNamingExceptionEventContext.addNamingListener(javax.naming.Name,
int, javax.naming.event.NamingListener)public void addNamingListener(String target, int scope, NamingListener l) throws NamingException
addNamingListener in interface EventContextNamingException#addNamingListener(java.lang.String,
int, javax.naming.event.NamingListener)public void removeNamingListener(NamingListener l) throws NamingException
removeNamingListener in interface EventContextNamingException#removeNamingListener(javax.naming.event.NamingListener)public boolean targetMustExist()
throws NamingException
targetMustExist in interface EventContextNamingExceptionEventContext.targetMustExist()public Object addToEnvironment(String propName, Object propVal) throws NamingException
addToEnvironment in interface ContextNamingExceptionContext.addToEnvironment(java.lang.String,
java.lang.Object)public void bind(Name name, Object obj) throws NamingException
bind in interface ContextNamingExceptionContext.bind(javax.naming.Name, java.lang.Object)public void bind(String name, Object obj) throws NamingException
bind in interface ContextNamingExceptionContext.bind(java.lang.String, java.lang.Object)public void close()
throws NamingException
close in interface ContextNamingExceptionContext.close()public Name composeName(Name name, Name prefix) throws NamingException
composeName in interface ContextNamingExceptionContext.composeName(javax.naming.Name,
javax.naming.Name)public String composeName(String name, String prefix) throws NamingException
composeName in interface ContextNamingExceptionContext.composeName(java.lang.String, java.lang.String)public Context createSubcontext(Name name) throws NamingException
createSubcontext in interface ContextNamingExceptionContext.createSubcontext(javax.naming.Name)public Context createSubcontext(String name) throws NamingException
createSubcontext in interface ContextNamingExceptionContext.createSubcontext(java.lang.String)public void destroySubcontext(Name name) throws NamingException
destroySubcontext in interface ContextNamingExceptionContext.destroySubcontext(javax.naming.Name)public void destroySubcontext(String name) throws NamingException
destroySubcontext in interface ContextNamingExceptionContext.destroySubcontext(java.lang.String)public Hashtable getEnvironment() throws NamingException
getEnvironment in interface ContextNamingExceptionContext.getEnvironment()public String getNameInNamespace() throws NamingException
getNameInNamespace in interface ContextNamingExceptionContext.getNameInNamespace()public NameParser getNameParser(Name name) throws NamingException
getNameParser in interface ContextNamingExceptionContext.getNameParser(javax.naming.Name)public NameParser getNameParser(String name) throws NamingException
getNameParser in interface ContextNamingExceptionContext.getNameParser(java.lang.String)public NamingEnumeration list(Name name) throws NamingException
list in interface ContextNamingExceptionContext.list(javax.naming.Name)public NamingEnumeration list(String name) throws NamingException
list in interface ContextNamingExceptionContext.list(java.lang.String)public NamingEnumeration listBindings(Name name) throws NamingException
listBindings in interface ContextNamingExceptionContext.listBindings(javax.naming.Name)public NamingEnumeration listBindings(String name) throws NamingException
listBindings in interface ContextNamingExceptionContext.listBindings(java.lang.String)public Object lookup(Name name) throws NamingException
lookup in interface ContextNamingExceptionContext.lookup(javax.naming.Name)public Object lookup(String name) throws NamingException
lookup in interface ContextNamingExceptionContext.lookup(java.lang.String)public Object lookupLink(Name name) throws NamingException
lookupLink in interface ContextNamingExceptionContext.lookupLink(javax.naming.Name)public Object lookupLink(String name) throws NamingException
lookupLink in interface ContextNamingExceptionContext.lookupLink(java.lang.String)public void rebind(Name name, Object obj) throws NamingException
rebind in interface ContextNamingExceptionContext.rebind(javax.naming.Name, java.lang.Object)public void rebind(String name, Object obj) throws NamingException
rebind in interface ContextNamingExceptionContext.rebind(java.lang.String, java.lang.Object)public Object removeFromEnvironment(String propName) throws NamingException
removeFromEnvironment in interface ContextNamingExceptionContext.removeFromEnvironment(java.lang.String)public void rename(Name oldName, Name newName) throws NamingException
rename in interface ContextNamingExceptionContext.rename(javax.naming.Name, javax.naming.Name)public void rename(String oldName, String newName) throws NamingException
rename in interface ContextNamingExceptionContext.rename(java.lang.String, java.lang.String)public void unbind(Name name) throws NamingException
unbind in interface ContextNamingExceptionContext.unbind(javax.naming.Name)public void unbind(String name) throws NamingException
unbind in interface ContextNamingExceptionContext.unbind(java.lang.String)Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.