Package com.mchange.v2.naming
Class ReferenceableUtils
java.lang.Object
com.mchange.v2.naming.ReferenceableUtils
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Deprecated.nesting references seemed useful until I realized that references are Serializable and can be stored in a BinaryRefAddr. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
appendToReference
(Reference appendTo, Reference orig) Deprecated.nesting references seemed useful until I realized that references are Serializable and can be stored in a BinaryRefAddr.extractNestedReference
(Reference extractFrom, int index) Deprecated.nesting references seemed useful until I realized that references are Serializable and can be stored in a BinaryRefAddr.static String
A null string value in a Reference sometimes goes to the literal "null".static Object
referenceToObject
(Reference ref, Name name, Context nameCtx, Hashtable env)
-
Method Details
-
literalNullToNull
A null string value in a Reference sometimes goes to the literal "null". Sigh. We convert this string to a Java null. -
referenceToObject
public static Object referenceToObject(Reference ref, Name name, Context nameCtx, Hashtable env) throws NamingException - Throws:
NamingException
-
appendToReference
Deprecated.nesting references seemed useful until I realized that references are Serializable and can be stored in a BinaryRefAddr. Oops.- Throws:
NamingException
-
extractNestedReference
public static ReferenceableUtils.ExtractRec extractNestedReference(Reference extractFrom, int index) throws NamingException Deprecated.nesting references seemed useful until I realized that references are Serializable and can be stored in a BinaryRefAddr. Oops.- Throws:
NamingException
-