More JNDI changes.

From-SVN: r37779
This commit is contained in:
Anthony Green 2000-11-27 05:57:58 +00:00 committed by Anthony Green
parent 1789599b3d
commit e36b9711fb
28 changed files with 848 additions and 3 deletions

View file

@ -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 ();
}
}