src/share/classes/javax/naming/spi/ContinuationContext.java

Print this page

        

*** 36,50 **** * @since 1.3 */ class ContinuationContext implements Context, Resolver { protected CannotProceedException cpe; ! protected Hashtable env; protected Context contCtx = null; protected ContinuationContext(CannotProceedException cpe, ! Hashtable env) { this.cpe = cpe; this.env = env; } protected Context getTargetContext() throws NamingException { --- 36,50 ---- * @since 1.3 */ class ContinuationContext implements Context, Resolver { protected CannotProceedException cpe; ! protected Hashtable<?,?> env; protected Context contCtx = null; protected ContinuationContext(CannotProceedException cpe, ! Hashtable<?,?> env) { this.cpe = cpe; this.env = env; } protected Context getTargetContext() throws NamingException {
*** 107,134 **** public void rename(String name, String newName) throws NamingException { Context ctx = getTargetContext(); ctx.rename(name, newName); } ! public NamingEnumeration list(Name name) throws NamingException { Context ctx = getTargetContext(); return ctx.list(name); } ! public NamingEnumeration list(String name) throws NamingException { Context ctx = getTargetContext(); return ctx.list(name); } ! public NamingEnumeration listBindings(Name name) throws NamingException { Context ctx = getTargetContext(); return ctx.listBindings(name); } ! public NamingEnumeration listBindings(String name) throws NamingException { Context ctx = getTargetContext(); return ctx.listBindings(name); } public void destroySubcontext(Name name) throws NamingException { --- 107,134 ---- public void rename(String name, String newName) throws NamingException { Context ctx = getTargetContext(); ctx.rename(name, newName); } ! public NamingEnumeration<NameClassPair> list(Name name) throws NamingException { Context ctx = getTargetContext(); return ctx.list(name); } ! public NamingEnumeration<NameClassPair> list(String name) throws NamingException { Context ctx = getTargetContext(); return ctx.list(name); } ! public NamingEnumeration<Binding> listBindings(Name name) throws NamingException { Context ctx = getTargetContext(); return ctx.listBindings(name); } ! public NamingEnumeration<Binding> listBindings(String name) throws NamingException { Context ctx = getTargetContext(); return ctx.listBindings(name); } public void destroySubcontext(Name name) throws NamingException {
*** 191,201 **** throws NamingException { Context ctx = getTargetContext(); return ctx.removeFromEnvironment(propName); } ! public Hashtable getEnvironment() throws NamingException { Context ctx = getTargetContext(); return ctx.getEnvironment(); } public String getNameInNamespace() throws NamingException { --- 191,201 ---- throws NamingException { Context ctx = getTargetContext(); return ctx.removeFromEnvironment(propName); } ! public Hashtable<?,?> getEnvironment() throws NamingException { Context ctx = getTargetContext(); return ctx.getEnvironment(); } public String getNameInNamespace() throws NamingException {