Class DirContextSource

    • Constructor Detail

      • DirContextSource

        public DirContextSource()
    • Method Detail

      • getDirContextInstance

        protected javax.naming.directory.DirContext getDirContextInstance​(java.util.Hashtable environment)
                                                                   throws javax.naming.NamingException
        Create a new InitialDirContext instance.
        Specified by:
        getDirContextInstance in class AbstractContextSource
        Parameters:
        environment - the environment to use when creating the context.
        Returns:
        a new InitialDirContext implementation.
        Throws:
        javax.naming.NamingException - if one is encountered when creating the instance.