public class VirtualSubcontext extends ContextFlyweight
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES
Constructor and Description |
---|
VirtualSubcontext(Name nameInContext,
Context context) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
equals(Object o) |
protected Context |
getContext() |
protected Name |
getName(Name name) |
protected String |
getName(String name) |
String |
getNameInNamespace() |
int |
hashCode() |
addToEnvironment, bind, bind, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind
public VirtualSubcontext(Name nameInContext, Context context) throws NamingException
NamingException
protected Context getContext() throws NamingException
getContext
in class ContextFlyweight
NamingException
protected Name getName(Name name) throws NamingException
getName
in class ContextFlyweight
NamingException
protected String getName(String name) throws NamingException
getName
in class ContextFlyweight
NamingException
public void close() throws NamingException
close
in interface Context
close
in class ContextFlyweight
NamingException
public String getNameInNamespace() throws NamingException
getNameInNamespace
in interface Context
getNameInNamespace
in class ContextFlyweight
NamingException
Copyright © 2005–2015. All rights reserved.