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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.