org.apache.naming.core
public class: DirContextHelper [javadoc |
source]
java.lang.Object
org.apache.naming.core.DirContextHelper
Utility class providing additional operations on DirContexts.
Instead of extending DirContext we use a helper who will work
on any context, including 'foreign' ones ( like JNDI, etc ).
Typical methods - conversions ( int, boolean), etc.
This code should check if the context extend our BaseDirContext
and use specific features ( like notes - to cache the conversion
results for example ), but fallback for external contexts.
- author:
Costin - Manolache