More JNDI changes.
From-SVN: r37779
This commit is contained in:
parent
1789599b3d
commit
e36b9711fb
@ -1,3 +1,77 @@
|
|||||||
|
Sun Nov 26 21:30:25 2000 Anthony Green <green@redhat.com>
|
||||||
|
|
||||||
|
* javax/naming/AuthenticationException.java,
|
||||||
|
javax/naming/AuthenticationNotSupportedException.java,
|
||||||
|
javax/naming/CannotProceedException.java,
|
||||||
|
javax/naming/CommunicationException.java,
|
||||||
|
javax/naming/ConfigurationException.java,
|
||||||
|
javax/naming/ContextNotEmptyException.java,
|
||||||
|
javax/naming/InsufficientResourcesException.java,
|
||||||
|
javax/naming/InterruptedNamingException.java,
|
||||||
|
javax/naming/InvalidNameException.java,
|
||||||
|
javax/naming/LimitExceededException.java,
|
||||||
|
javax/naming/LinkException.java,
|
||||||
|
javax/naming/LinkLoopException.java,
|
||||||
|
javax/naming/MalformedLinkException.java,
|
||||||
|
javax/naming/NameAlreadyBoundException.java,
|
||||||
|
javax/naming/NameNotFoundException.java,
|
||||||
|
javax/naming/NamingSecurityException.java,
|
||||||
|
javax/naming/NoPermissionException.java,
|
||||||
|
javax/naming/NotContextException.java,
|
||||||
|
javax/naming/PartialResultException.java,
|
||||||
|
javax/naming/ReferralException.java,
|
||||||
|
javax/naming/ServiceUnavailableException.java,
|
||||||
|
javax/naming/SizeLimitExceededException.java,
|
||||||
|
javax/naming/TimeLimitExceededException.java: New files.
|
||||||
|
|
||||||
|
* javax/naming/Name.java (clone): New method.
|
||||||
|
(compareTo): New method.
|
||||||
|
(isEmpty): New method.
|
||||||
|
(getAll): New method.
|
||||||
|
(getPrefix): New method.
|
||||||
|
(getSuffix): New method.
|
||||||
|
(startsWith): New method.
|
||||||
|
(endsWith): New method.
|
||||||
|
(addAll): New method.
|
||||||
|
(addAll): New method.
|
||||||
|
(add): New method.
|
||||||
|
(add): New method.
|
||||||
|
(remove): New method.
|
||||||
|
|
||||||
|
* javax/naming/Context.java (lookup): New method.
|
||||||
|
(rebind): New method.
|
||||||
|
(unbind): New method.
|
||||||
|
(rename): New method.
|
||||||
|
(list): New method.
|
||||||
|
(listBindings): New method.
|
||||||
|
(destroySubcontext): New method.
|
||||||
|
(createSubcontext): New method.
|
||||||
|
(lookupLink): New method.
|
||||||
|
(getNameParser): New method.
|
||||||
|
(composeName): New method.
|
||||||
|
(addToEnvironment): New method.
|
||||||
|
(removeFromEnvironment): New method.
|
||||||
|
(getEnvironment): New method.
|
||||||
|
(close): New method.
|
||||||
|
(getNameInNamespace): New method.
|
||||||
|
|
||||||
|
* javax/naming/InitialContext.java (lookup): New method.
|
||||||
|
(rebind): New method.
|
||||||
|
(unbind): New method.
|
||||||
|
(rename): New method.
|
||||||
|
(list): New method.
|
||||||
|
(listBindings): New method.
|
||||||
|
(destroySubcontext): New method.
|
||||||
|
(createSubcontext): New method.
|
||||||
|
(lookupLink): New method.
|
||||||
|
(getNameParser): New method.
|
||||||
|
(composeName): New method.
|
||||||
|
(addToEnvironment): New method.
|
||||||
|
(removeFromEnvironment): New method.
|
||||||
|
(getEnvironment): New method.
|
||||||
|
(close): New method.
|
||||||
|
(getNameInNamespace): New method.
|
||||||
|
|
||||||
2000-11-26 Tom Tromey <tromey@cygnus.com>
|
2000-11-26 Tom Tromey <tromey@cygnus.com>
|
||||||
|
|
||||||
* Makefile.in: Rebuilt.
|
* Makefile.in: Rebuilt.
|
||||||
|
24
libjava/javax/naming/AuthenticationException.java
Normal file
24
libjava/javax/naming/AuthenticationException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class AuthenticationException extends NamingSecurityException
|
||||||
|
{
|
||||||
|
public AuthenticationException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public AuthenticationException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,25 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class AuthenticationNotSupportedException
|
||||||
|
extends NamingSecurityException
|
||||||
|
{
|
||||||
|
public AuthenticationNotSupportedException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public AuthenticationNotSupportedException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/CannotProceedException.java
Normal file
24
libjava/javax/naming/CannotProceedException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class CannotProceedException extends NamingException
|
||||||
|
{
|
||||||
|
public CannotProceedException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public CannotProceedException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/CommunicationException.java
Normal file
24
libjava/javax/naming/CommunicationException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class CommunicationException extends NamingException
|
||||||
|
{
|
||||||
|
public CommunicationException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public CommunicationException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/ConfigurationException.java
Normal file
24
libjava/javax/naming/ConfigurationException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class ConfigurationException extends NamingException
|
||||||
|
{
|
||||||
|
public ConfigurationException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public ConfigurationException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
@ -79,5 +79,50 @@ public interface Context
|
|||||||
|
|
||||||
public void bind (Name name, Object obj) throws NamingException;
|
public void bind (Name name, Object obj) throws NamingException;
|
||||||
public void bind (String name, Object obj) throws NamingException;
|
public void bind (String name, Object obj) throws NamingException;
|
||||||
|
|
||||||
|
public Object lookup (Name name) throws NamingException;
|
||||||
|
public Object lookup (String name) throws NamingException;
|
||||||
|
|
||||||
|
public void rebind (Name name, Object obj) throws NamingException;
|
||||||
|
public void rebind (String name, Object obj) throws NamingException;
|
||||||
|
|
||||||
|
public void unbind (Name name) throws NamingException;
|
||||||
|
public void unbind (String name) throws NamingException;
|
||||||
|
|
||||||
|
public void rename (Name oldName, Name newName) throws NamingException;
|
||||||
|
public void rename (String oldName, String newName) throws NamingException;
|
||||||
|
|
||||||
|
public NamingEnumeration list (Name name) throws NamingException;
|
||||||
|
public NamingEnumeration list (String name) throws NamingException;
|
||||||
|
|
||||||
|
public NamingEnumeration listBindings (Name name) throws NamingException;
|
||||||
|
public NamingEnumeration listBindings (String name) throws NamingException;
|
||||||
|
|
||||||
|
public void destroySubcontext (Name name) throws NamingException;
|
||||||
|
public void destroySubcontext (String name) throws NamingException;
|
||||||
|
|
||||||
|
public Context createSubcontext (Name name) throws NamingException;
|
||||||
|
public Context createSubcontext (String name) throws NamingException;
|
||||||
|
|
||||||
|
public Object lookupLink (Name name) throws NamingException;
|
||||||
|
public Object lookupLink (String name) throws NamingException;
|
||||||
|
|
||||||
|
public NameParser getNameParser (Name name) throws NamingException;
|
||||||
|
public NameParser getNameParser (String name) throws NamingException;
|
||||||
|
|
||||||
|
public Name composeName (Name name, Name prefix) throws NamingException;
|
||||||
|
public String composeName (String name,
|
||||||
|
String prefix) throws NamingException;
|
||||||
|
|
||||||
|
public Object addToEnvironment (String propName,
|
||||||
|
Object propVal) throws NamingException;
|
||||||
|
|
||||||
|
public Object removeFromEnvironment (String propName) throws NamingException;
|
||||||
|
|
||||||
|
public Hashtable getEnvironment () throws NamingException;
|
||||||
|
|
||||||
|
public void close () throws NamingException;
|
||||||
|
|
||||||
|
public String getNameInNamespace () throws NamingException;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
24
libjava/javax/naming/ContextNotEmptyException.java
Normal file
24
libjava/javax/naming/ContextNotEmptyException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class ContextNotEmptyException extends NamingException
|
||||||
|
{
|
||||||
|
public ContextNotEmptyException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public ContextNotEmptyException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
@ -20,7 +20,6 @@ import java.applet.Applet;
|
|||||||
import java.util.Hashtable;
|
import java.util.Hashtable;
|
||||||
import javax.naming.spi.NamingManager;
|
import javax.naming.spi.NamingManager;
|
||||||
|
|
||||||
|
|
||||||
public class InitialContext implements Context
|
public class InitialContext implements Context
|
||||||
{
|
{
|
||||||
protected Context defaultInitCtx;
|
protected Context defaultInitCtx;
|
||||||
@ -194,4 +193,141 @@ public class InitialContext implements Context
|
|||||||
{
|
{
|
||||||
getURLOrDefaultInitCtx (name).bind (name, obj);
|
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 ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
24
libjava/javax/naming/InsufficientResourcesException.java
Normal file
24
libjava/javax/naming/InsufficientResourcesException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class InsufficientResourcesException extends NamingException
|
||||||
|
{
|
||||||
|
public InsufficientResourcesException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public InsufficientResourcesException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/InterruptedNamingException.java
Normal file
24
libjava/javax/naming/InterruptedNamingException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class InterruptedNamingException extends NamingException
|
||||||
|
{
|
||||||
|
public InterruptedNamingException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public InterruptedNamingException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/InvalidNameException.java
Normal file
24
libjava/javax/naming/InvalidNameException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class InvalidNameException extends NamingException
|
||||||
|
{
|
||||||
|
public InvalidNameException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public InvalidNameException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/LimitExceededException.java
Normal file
24
libjava/javax/naming/LimitExceededException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class LimitExceededException extends NamingException
|
||||||
|
{
|
||||||
|
public LimitExceededException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public LimitExceededException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/LinkException.java
Normal file
24
libjava/javax/naming/LinkException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class LinkException extends NamingException
|
||||||
|
{
|
||||||
|
public LinkException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public LinkException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/LinkLoopException.java
Normal file
24
libjava/javax/naming/LinkLoopException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class LinkLoopException extends LinkException
|
||||||
|
{
|
||||||
|
public LinkLoopException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public LinkLoopException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/MalformedLinkException.java
Normal file
24
libjava/javax/naming/MalformedLinkException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class MalformedLinkException extends LinkException
|
||||||
|
{
|
||||||
|
public MalformedLinkException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public MalformedLinkException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
@ -12,6 +12,19 @@ import java.io.Serializable;
|
|||||||
|
|
||||||
public interface Name extends Cloneable, Serializable
|
public interface Name extends Cloneable, Serializable
|
||||||
{
|
{
|
||||||
public int size ();
|
public Object clone();
|
||||||
public String get (int index);
|
public int compareTo(Object obj);
|
||||||
|
public int size();
|
||||||
|
public boolean isEmpty();
|
||||||
|
public Enumeration getAll();
|
||||||
|
public String get(int posn);
|
||||||
|
public Name getPrefix(int posn);
|
||||||
|
public Name getSuffix(int posn);
|
||||||
|
public boolean startsWith(Name n);
|
||||||
|
public boolean endsWith(Name n);
|
||||||
|
public Name addAll(Name suffix) throws InvalidNameException;
|
||||||
|
public Name addAll(int posn, Name n) throws InvalidNameException;
|
||||||
|
public Name add(String comp) throws InvalidNameException;
|
||||||
|
public Name add(int posn, String comp) throws InvalidNameException;
|
||||||
|
public Object remove(int posn) throws InvalidNameException;
|
||||||
}
|
}
|
||||||
|
24
libjava/javax/naming/NameAlreadyBoundException.java
Normal file
24
libjava/javax/naming/NameAlreadyBoundException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class NameAlreadyBoundException extends NamingException
|
||||||
|
{
|
||||||
|
public NameAlreadyBoundException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public NameAlreadyBoundException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/NameNotFoundException.java
Normal file
24
libjava/javax/naming/NameNotFoundException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class NameNotFoundException extends NamingException
|
||||||
|
{
|
||||||
|
public NameNotFoundException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public NameNotFoundException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/NamingSecurityException.java
Normal file
24
libjava/javax/naming/NamingSecurityException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class NamingSecurityException extends NamingException
|
||||||
|
{
|
||||||
|
public NamingSecurityException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public NamingSecurityException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/NoPermissionException.java
Normal file
24
libjava/javax/naming/NoPermissionException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class NoPermissionException extends NamingSecurityException
|
||||||
|
{
|
||||||
|
public NoPermissionException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public NoPermissionException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/NotContextException.java
Normal file
24
libjava/javax/naming/NotContextException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class NotContextException extends NamingException
|
||||||
|
{
|
||||||
|
public NotContextException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public NotContextException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/OperationNotSupportedException.java
Normal file
24
libjava/javax/naming/OperationNotSupportedException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class OperationNotSupportedException extends Exception
|
||||||
|
{
|
||||||
|
public OperationNotSupportedException()
|
||||||
|
{
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
|
public OperationNotSupportedException(String msg)
|
||||||
|
{
|
||||||
|
super(msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/PartialResultException.java
Normal file
24
libjava/javax/naming/PartialResultException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class PartialResultException extends NamingException
|
||||||
|
{
|
||||||
|
public PartialResultException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public PartialResultException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/ReferralException.java
Normal file
24
libjava/javax/naming/ReferralException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class ReferralException extends NamingException
|
||||||
|
{
|
||||||
|
public ReferralException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public ReferralException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/ServiceUnavailableException.java
Normal file
24
libjava/javax/naming/ServiceUnavailableException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class ServiceUnavailableException extends NamingException
|
||||||
|
{
|
||||||
|
public ServiceUnavailableException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public ServiceUnavailableException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/SizeLimitExceededException.java
Normal file
24
libjava/javax/naming/SizeLimitExceededException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class SizeLimitExceededException extends LimitExceededException
|
||||||
|
{
|
||||||
|
public SizeLimitExceededException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public SizeLimitExceededException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
24
libjava/javax/naming/TimeLimitExceededException.java
Normal file
24
libjava/javax/naming/TimeLimitExceededException.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2000 Free Software Foundation
|
||||||
|
|
||||||
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
This software is copyrighted work licensed under the terms of the
|
||||||
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
package javax.naming;
|
||||||
|
|
||||||
|
import java.lang.Exception;
|
||||||
|
|
||||||
|
public class TimeLimitExceededException extends LimitExceededException
|
||||||
|
{
|
||||||
|
public TimeLimitExceededException ()
|
||||||
|
{
|
||||||
|
super ();
|
||||||
|
}
|
||||||
|
|
||||||
|
public TimeLimitExceededException (String msg)
|
||||||
|
{
|
||||||
|
super (msg);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user