org.apache.xbean.naming.context
Class VirtualSubcontext

java.lang.Object
  extended by org.apache.xbean.naming.context.ContextFlyweight
      extended by org.apache.xbean.naming.context.VirtualSubcontext
All Implemented Interfaces:
Context

public class VirtualSubcontext
extends ContextFlyweight

Version:
$Rev$ $Date$

Field Summary
 
Fields inherited from interface javax.naming.Context
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 Summary
VirtualSubcontext(Name nameInContext, Context context)
           
 
Method Summary
 void close()
           
 boolean equals(Object o)
           
protected  Context getContext()
           
protected  Name getName(Name name)
           
protected  String getName(String name)
           
 String getNameInNamespace()
           
 int hashCode()
           
 
Methods inherited from class org.apache.xbean.naming.context.ContextFlyweight
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtualSubcontext

public VirtualSubcontext(Name nameInContext,
                         Context context)
                  throws NamingException
Throws:
NamingException
Method Detail

getContext

protected Context getContext()
                      throws NamingException
Specified by:
getContext in class ContextFlyweight
Throws:
NamingException

getName

protected Name getName(Name name)
                throws NamingException
Overrides:
getName in class ContextFlyweight
Throws:
NamingException

getName

protected String getName(String name)
                  throws NamingException
Overrides:
getName in class ContextFlyweight
Throws:
NamingException

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

close

public void close()
           throws NamingException
Specified by:
close in interface Context
Overrides:
close in class ContextFlyweight
Throws:
NamingException

getNameInNamespace

public String getNameInNamespace()
                          throws NamingException
Specified by:
getNameInNamespace in interface Context
Overrides:
getNameInNamespace in class ContextFlyweight
Throws:
NamingException


Copyright © 2005-2011. All Rights Reserved.