diff options
author | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-27 06:50:18 +0000 |
---|---|---|
committer | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-27 06:50:18 +0000 |
commit | 24e1c61a44f1eb03f40d7861010a9af5977b19df (patch) | |
tree | 68acdca7981c9445e3a984f48fc3e59a0262b6b9 /libjava/javax | |
parent | 7812aa21771cac74ecc3187089e152d89cdeb8cd (diff) | |
download | ppe42-gcc-24e1c61a44f1eb03f40d7861010a9af5977b19df.tar.gz ppe42-gcc-24e1c61a44f1eb03f40d7861010a9af5977b19df.zip |
Replace stubs with actual implementation
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37782 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/javax')
-rw-r--r-- | libjava/javax/naming/InitialContext.java | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/libjava/javax/naming/InitialContext.java b/libjava/javax/naming/InitialContext.java index 550d2b6cf80..f0404a5a324 100644 --- a/libjava/javax/naming/InitialContext.java +++ b/libjava/javax/naming/InitialContext.java @@ -185,140 +185,140 @@ public class InitialContext implements Context } public void bind (Name name, Object obj) throws NamingException - { - getURLOrDefaultInitCtx (name).bind (name, obj); - } + { + getURLOrDefaultInitCtx (name).bind (name, obj); + } public void bind (String name, Object obj) throws NamingException - { - getURLOrDefaultInitCtx (name).bind (name, obj); - } + { + getURLOrDefaultInitCtx (name).bind (name, obj); + } public Object lookup (Name name) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).lookup (name); } public Object lookup (String name) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).lookup (name); } public void rebind (Name name, Object obj) throws NamingException { - throw new OperationNotSupportedException (); + getURLOrDefaultInitCtx (name).rebind (name, obj); } public void rebind (String name, Object obj) throws NamingException { - throw new OperationNotSupportedException (); + getURLOrDefaultInitCtx (name).rebind (name, obj); } public void unbind (Name name) throws NamingException { - throw new OperationNotSupportedException (); + getURLOrDefaultInitCtx (name).unbind (name); } public void unbind (String name) throws NamingException { - throw new OperationNotSupportedException (); + getURLOrDefaultInitCtx (name).unbind (name); } public void rename (Name oldName, Name newName) throws NamingException { - throw new OperationNotSupportedException (); + getURLOrDefaultInitCtx (oldName).rename (oldName, newName); } public void rename (String oldName, String newName) throws NamingException { - throw new OperationNotSupportedException (); + getURLOrDefaultInitCtx (oldName).rename (oldName, newName); } public NamingEnumeration list (Name name) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).list (name); } public NamingEnumeration list (String name) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).list (name); } public NamingEnumeration listBindings (Name name) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).listBindings (name); } public NamingEnumeration listBindings (String name) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).listBindings (name); } public void destroySubcontext (Name name) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).destroySubcontext (name); } public void destroySubcontext (String name) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).destroySubcontext (name); } public Context createSubcontext (Name name) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).createSubcontext (name); } public Context createSubcontext (String name) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).createSubcontext (name); } public Object lookupLink (Name name) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).lookupLink (name); } public Object lookupLink (String name) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).lookupLink (name); } public NameParser getNameParser (Name name) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).getNameParser (name); } public NameParser getNameParser (String name) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).getNameParser (name); } public Name composeName (Name name, Name prefix) throws NamingException { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).composeName (name, prefix); } public String composeName (String name, String prefix) throws NamingException; { - throw new OperationNotSupportedException (); + return getURLOrDefaultInitCtx (name).composeName (name, prefix); } public Object addToEnvironment (String propName, Object propVal) throws NamingException; { - throw new OperationNotSupportedException (); + myProps.add (propName, propVal); } public Object removeFromEnvironment (String propName) throws NamingException { - throw new OperationNotSupportedException (); + myProps.remove (propName); } public Hashtable getEnvironment () throws NamingException { - throw new OperationNotSupportedException (); + return myProps; } public void close () throws NamingException |