Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.ldap
Interface LdapFactory

All Known Implementing Classes:
LdapFactoryImpl

public interface LdapFactory

The LdapFactory is used to create LdapDirectoryS, LdapDirectorySettings, LdapQueryS, ...

Author:
Sebastien Mazy

Method Summary
 LdapQuery createQuery(String query)
          Returns an LDAP query, ready to be sent to an LdapDirectory
 LdapSearchSettings createSearchSettings()
          Returns an LdapSearchSettings, to use when performing a search
 LdapDirectory createServer(LdapDirectorySettings settings)
          Creates an LdapDirectory based on the provided settings This method will not modify the settings or save a reference to it, but may save a clone.
 LdapDirectorySettings createServerSettings()
          Return a new instance of LdapDirectorySettings, a wrapper around a directory settings
 

Method Detail

createServer

LdapDirectory createServer(LdapDirectorySettings settings)
                           throws IllegalArgumentException
Creates an LdapDirectory based on the provided settings This method will not modify the settings or save a reference to it, but may save a clone.

Parameters:
settings - settings for this new server
Returns:
a reference to the created LdapDirectory
Throws:
IllegalArgumentException - if argument is invalid
See Also:
LdapDirectorySettings

createServerSettings

LdapDirectorySettings createServerSettings()
Return a new instance of LdapDirectorySettings, a wrapper around a directory settings

Returns:
a new instance of LdapDirectorySettings
See Also:
LdapDirectorySettings

createQuery

LdapQuery createQuery(String query)
Returns an LDAP query, ready to be sent to an LdapDirectory

Parameters:
query - query string
Returns:
an LDAP query, ready to be sent to an LdapDirectory

createSearchSettings

LdapSearchSettings createSearchSettings()
Returns an LdapSearchSettings, to use when performing a search

Returns:
an LdapSearchSettings, to use when performing a search

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.