|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nitido.directory.jndi.DirectoryFactoryImpl
public class DirectoryFactoryImpl
This DirectoryFactoryImpl class instantiates a Directory object that uses the Sun JNDI Directory extension.
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. |
static DirectoryFactoryImpl |
getInstance()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DirectoryFactoryImpl getInstance()
public Directory createDirectory(java.lang.String hostname, int port, java.lang.String base) throws java.lang.IllegalArgumentException
DirectoryFactory
createDirectory
in interface DirectoryFactory
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.public Directory createDirectory(java.lang.String hostname, int port) throws java.lang.IllegalArgumentException
DirectoryFactory
createDirectory
in interface DirectoryFactory
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 illegalpublic Directory createDirectory(java.lang.String hostname) throws java.lang.IllegalArgumentException
DirectoryFactory
createDirectory
in interface DirectoryFactory
hostname
- The name of the LDAP host to connect to.
java.lang.IllegalArgumentException
- This runtime exception is thrown if the parameters are illegalpublic Directory createDirectory() throws java.lang.IllegalArgumentException
DirectoryFactory
createDirectory
in interface DirectoryFactory
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.