public class FileContext extends JVMContext implements 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.
CHILD_ADDED_EVENT, CHILD_REMOVED_EVENT, elements, eventListeners, NUMBER_CHANGED_EVENT, parent, parserOBJECT_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 |
|---|
FileContext(File file)
constructs a new FileContext
|
FileContext(File file,
Context parent,
String atomicName)
constructs a new FileContext
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Name name,
Object value) |
void |
bind(String name,
Object value) |
Object |
clone() |
Context |
createSubcontext(Name name) |
Context |
createSubcontext(String arg0) |
void |
destroySubcontext(Name arg0) |
void |
destroySubcontext(String arg0) |
void |
rebind(Name name,
Object value) |
void |
rebind(String name,
Object value) |
Object |
removeFromEnvironment(String arg0) |
void |
rename(Name nameOld,
Name nameNew) |
void |
rename(String nameOld,
String nameNew) |
void |
unbind(Name name) |
void |
unbind(String name) |
addNamingListener, addNamingListener, addToEnvironment, close, composeName, composeName, getEnvironment, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, removeNamingListener, targetMustExist, toStringaddListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getEventTypes, removeAllListeners, removeAllListeners, removeListenerpublic FileContext(File file)
file - the file to write topublic void bind(Name name, Object value) throws NamingException
bind in interface Contextbind in class JVMContextNamingExceptionContext.bind(javax.naming.Name, java.lang.Object)public void bind(String name, Object value) throws NamingException
bind in interface Contextbind in class JVMContextNamingExceptionContext.bind(java.lang.String, java.lang.Object)public Context createSubcontext(Name name) throws NamingException
createSubcontext in interface ContextcreateSubcontext in class JVMContextNamingExceptionContext.createSubcontext(javax.naming.Name)public Context createSubcontext(String arg0) throws NamingException
createSubcontext in interface ContextcreateSubcontext in class JVMContextNamingExceptionContext.createSubcontext(java.lang.String)public void destroySubcontext(Name arg0) throws NamingException
destroySubcontext in interface ContextdestroySubcontext in class JVMContextNamingExceptionContext.destroySubcontext(javax.naming.Name)public void destroySubcontext(String arg0) throws NamingException
destroySubcontext in interface ContextdestroySubcontext in class JVMContextNamingExceptionContext.destroySubcontext(java.lang.String)public void rebind(Name name, Object value) throws NamingException
rebind in interface Contextrebind in class JVMContextNamingExceptionContext.rebind(javax.naming.Name, java.lang.Object)public void rebind(String name, Object value) throws NamingException
rebind in interface Contextrebind in class JVMContextNamingExceptionContext.rebind(java.lang.String, java.lang.Object)public Object removeFromEnvironment(String arg0) throws NamingException
removeFromEnvironment in interface ContextremoveFromEnvironment in class JVMContextNamingExceptionContext.removeFromEnvironment(java.lang.String)public void rename(Name nameOld, Name nameNew) throws NamingException
rename in interface Contextrename in class JVMContextNamingExceptionContext.rename(javax.naming.Name, javax.naming.Name)public void rename(String nameOld, String nameNew) throws NamingException
rename in interface Contextrename in class JVMContextNamingExceptionContext.rename(java.lang.String, java.lang.String)public void unbind(Name name) throws NamingException
unbind in interface Contextunbind in class JVMContextNamingExceptionContext.unbind(javax.naming.Name)public void unbind(String name) throws NamingException
unbind in interface Contextunbind in class JVMContextNamingExceptionContext.unbind(java.lang.String)public Object clone() throws CloneNotSupportedException
clone in class JVMContextCloneNotSupportedExceptionObject.clone()Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.