Package org.apache.xbean.naming.context
Class VirtualSubcontext
- java.lang.Object
-
- org.apache.xbean.naming.context.ContextFlyweight
-
- org.apache.xbean.naming.context.VirtualSubcontext
-
- All Implemented Interfaces:
javax.naming.Context
public class VirtualSubcontext extends ContextFlyweight
-
-
Constructor Summary
Constructors Constructor Description VirtualSubcontext(javax.naming.Name nameInContext, javax.naming.Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
equals(java.lang.Object o)
protected javax.naming.Context
getContext()
protected java.lang.String
getName(java.lang.String name)
protected javax.naming.Name
getName(javax.naming.Name name)
java.lang.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
-
-
-
-
Method Detail
-
getContext
protected javax.naming.Context getContext() throws javax.naming.NamingException
- Specified by:
getContext
in classContextFlyweight
- Throws:
javax.naming.NamingException
-
getName
protected javax.naming.Name getName(javax.naming.Name name) throws javax.naming.NamingException
- Overrides:
getName
in classContextFlyweight
- Throws:
javax.naming.NamingException
-
getName
protected java.lang.String getName(java.lang.String name) throws javax.naming.NamingException
- Overrides:
getName
in classContextFlyweight
- Throws:
javax.naming.NamingException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
close
public void close() throws javax.naming.NamingException
- Specified by:
close
in interfacejavax.naming.Context
- Overrides:
close
in classContextFlyweight
- Throws:
javax.naming.NamingException
-
getNameInNamespace
public java.lang.String getNameInNamespace() throws javax.naming.NamingException
- Specified by:
getNameInNamespace
in interfacejavax.naming.Context
- Overrides:
getNameInNamespace
in classContextFlyweight
- Throws:
javax.naming.NamingException
-
-