aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/naming/InitialContext.java
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2000-11-27 05:57:58 +0000
committerAnthony Green <green@gcc.gnu.org>2000-11-27 05:57:58 +0000
commite36b9711fb576855928df06107ba52635e011159 (patch)
tree435566d5a2d48169c3e7d6187552ab6e87a17e8c /libjava/javax/naming/InitialContext.java
parent1789599b3de66875caae60502739872aca8923ab (diff)
downloadgcc-e36b9711fb576855928df06107ba52635e011159.zip
gcc-e36b9711fb576855928df06107ba52635e011159.tar.gz
gcc-e36b9711fb576855928df06107ba52635e011159.tar.bz2
More JNDI changes.
From-SVN: r37779
Diffstat (limited to 'libjava/javax/naming/InitialContext.java')
-rw-r--r--libjava/javax/naming/InitialContext.java138
1 files changed, 137 insertions, 1 deletions
diff --git a/libjava/javax/naming/InitialContext.java b/libjava/javax/naming/InitialContext.java
index 66454a5..550d2b6 100644
--- a/libjava/javax/naming/InitialContext.java
+++ b/libjava/javax/naming/InitialContext.java
@@ -20,7 +20,6 @@ import java.applet.Applet;
import java.util.Hashtable;
import javax.naming.spi.NamingManager;
-
public class InitialContext implements Context
{
protected Context defaultInitCtx;
@@ -194,4 +193,141 @@ public class InitialContext implements Context
{
getURLOrDefaultInitCtx (name).bind (name, obj);
}
+
+ public Object lookup (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Object lookup (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void rebind (Name name, Object obj) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void rebind (String name, Object obj) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void unbind (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void unbind (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void rename (Name oldName, Name newName) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void rename (String oldName, String newName) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public NamingEnumeration list (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public NamingEnumeration list (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public NamingEnumeration listBindings (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public NamingEnumeration listBindings (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void destroySubcontext (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void destroySubcontext (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Context createSubcontext (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Context createSubcontext (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Object lookupLink (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Object lookupLink (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public NameParser getNameParser (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public NameParser getNameParser (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Name composeName (Name name, Name prefix) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public String composeName (String name,
+ String prefix) throws NamingException;
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Object addToEnvironment (String propName,
+ Object propVal) throws NamingException;
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Object removeFromEnvironment (String propName) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Hashtable getEnvironment () throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void close () throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public String getNameInNamespace () throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
}