Nitido Inc.

com.nitido.directory
Interface DirectoryFactory

All Known Implementing Classes:
DirectoryFactoryImpl

public interface DirectoryFactory

The DirectoryFactory base class defines the Factories that create the implementors of the Directory interface.


Method Summary
 Directory createDirectory()
          Construct a Directory object, using localhost, port 389 and default base.
 Directory createDirectory(java.lang.String hostname)
          Construct a Directory object, using the port 389 and the default base.
 Directory createDirectory(java.lang.String hostname, int port)
          Construct a Directory object without connection
 Directory createDirectory(java.lang.String hostname, int port, java.lang.String base)
          Construct a Directory object.
 

Method Detail

createDirectory

Directory createDirectory(java.lang.String hostname,
                          int port,
                          java.lang.String base)
                          throws java.lang.IllegalArgumentException
Construct a Directory object.

Parameters:
hostname - The name of the LDAP host to connect to.
port - The port number of the LDAP directory to connect to.
base - The default base to perform operations from in the directory.
Throws:
java.lang.IllegalArgumentException - This runtime exception is thrown if the parameters are illegal or invalid.

createDirectory

Directory createDirectory(java.lang.String hostname,
                          int port)
                          throws java.lang.IllegalArgumentException
Construct a Directory object without connection

Parameters:
hostname - The name of the LDAP host to connect to.
port - The port number of the LDAP directory to connect to.
Throws:
java.lang.IllegalArgumentException - This runtime exception is thrown if the parameters are illegal

createDirectory

Directory createDirectory(java.lang.String hostname)
                          throws java.lang.IllegalArgumentException
Construct a Directory object, using the port 389 and the default base.

Parameters:
hostname - The name of the LDAP host to connect to.
Throws:
java.lang.IllegalArgumentException - This runtime exception is thrown if the parameters are illegal

createDirectory

Directory createDirectory()
                          throws java.lang.IllegalArgumentException
Construct a Directory object, using localhost, port 389 and default base.

Throws:
java.lang.IllegalArgumentException - This runtime exception is thrown if the parameters are illegal or invalid.

Nitido NiM 2.5 Java API

These JavaDoc pages are generated for release/nim_2_5-2.5.44

Copyright © 1999-2009 Nitido Inc.    Proprietary and Confidential.    All Rights Reserved.