|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
Directory createDirectory(java.lang.String hostname, int port, java.lang.String base) throws java.lang.IllegalArgumentException
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.
java.lang.IllegalArgumentException
- This runtime exception is thrown if the parameters are illegal
or invalid.Directory createDirectory(java.lang.String hostname, int port) throws java.lang.IllegalArgumentException
hostname
- The name of the LDAP host to connect to.port
- The port number of the LDAP directory to connect to.
java.lang.IllegalArgumentException
- This runtime exception is thrown if the parameters are illegalDirectory createDirectory(java.lang.String hostname) throws java.lang.IllegalArgumentException
hostname
- The name of the LDAP host to connect to.
java.lang.IllegalArgumentException
- This runtime exception is thrown if the parameters are illegalDirectory createDirectory() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- This runtime exception is thrown if the parameters are illegal
or invalid.
|
Nitido NiM 2.5 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.