Name

InitialDirContext

Synopsis

This class represents the starting context for performing directory operations and is a subclass of javax.naming.InitialContext. Use this class when your application must perform directory operations on an initial context.

                  Returned By
public class InitialDirContext extends InitialContext implements DirContext {
// Public Constructors
   public InitialDirContext() throws NamingException;  
   public InitialDirContext(
        java.util.Hashtable environment) throws NamingException;  
// Protected Constructors
   protected InitialDirContext(
        boolean lazy) throws NamingException;  
// Methods Implementing DirContext
   public void bind(String name, Object obj, 
        Attributes attrs) throws NamingException;  
   public void bind(javax.naming.Name name, Object obj, 
        Attributes attrs) throws NamingException;  
   public DirContext createSubcontext(javax.naming.Name name, 
        Attributes attrs) throws NamingException;  
   public DirContext createSubcontext(String name, 
        Attributes attrs) throws NamingException;  
   public Attributes getAttributes(
        javax.naming.Name name) throws NamingException;  
   public Attributes getAttributes(
        String name) throws NamingException;  
   public Attributes getAttributes(javax.naming.Name name, 
        String[] attrIds) throws NamingException;  
   public Attributes getAttributes(String name, 
        String[] attrIds) throws NamingException;  
   public DirContext getSchema(
        String name) throws NamingException; public DirContext ...

Get Java Enterprise in a Nutshell, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.