Package org.apache.xbean.naming.context
Class ContextUtil
java.lang.Object
org.apache.xbean.naming.context.ContextUtil
- Version:
- $Rev$ $Date$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classDo nothing subclass of hashmap used to differentiate between a Map in the tree an a nested element during tree buildingstatic final class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ContextUtil.NodebuildMapTree(Map<String, Object> absoluteBindings) createBindings(Map<String, Object> absoluteBindings, NestedContextFactory factory) listBindingsToMap(NamingEnumeration enumeration) listToMap(NamingEnumeration enumeration) static Namestatic Object
-
Field Details
-
NAME_PARSER
-
-
Method Details
-
parseName
- Throws:
NamingException
-
resolve
public static Object resolve(Object value, String stringName, Name parsedName, Context nameCtx) throws NamingException - Throws:
NamingException
-
listToMap
-
listBindingsToMap
-
createBindings
public static Map<String,Object> createBindings(Map<String, Object> absoluteBindings, NestedContextFactory factory) throws NamingException- Throws:
NamingException
-
buildMapTree
public static ContextUtil.Node buildMapTree(Map<String, Object> absoluteBindings) throws NamingException- Throws:
NamingException
-