Package com.sun.identity.sm
Class DirectoryServerVendor
- java.lang.Object
-
- com.sun.identity.sm.DirectoryServerVendor
-
public class DirectoryServerVendor extends Object
This singleton attempts to query vendor information of a Directory Server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classDirectoryServerVendor.Vendor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DirectoryServerVendorgetInstance()Returns an instance of this class.DirectoryServerVendor.Vendorquery(org.forgerock.opendj.ldap.Connection conn)Returns the vendor of Directory Server.
-
-
-
Method Detail
-
getInstance
public static DirectoryServerVendor getInstance()
Returns an instance of this class.- Returns:
- an instance of this class.
-
query
public DirectoryServerVendor.Vendor query(org.forgerock.opendj.ldap.Connection conn) throws org.forgerock.opendj.ldap.LdapException, org.forgerock.opendj.ldap.SearchResultReferenceIOException
Returns the vendor of Directory Server.- Parameters:
conn- LDAP connection to the server.- Returns:
- the vendor of Directory Server.
- Throws:
org.forgerock.opendj.ldap.LdapException- if unable to get the vendor information.org.forgerock.opendj.ldap.SearchResultReferenceIOException- if unable to get the vendor information
-
-