|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.codec.api.LdapApiServiceFactory
public class LdapApiServiceFactory
A factory that allows callers a means to get a handle on an LdapCodecService
implementation regardless of the environment in which they're accessing it.
In an OSGi environment, the BundleActivator binds the LdapCodecService
class member forever to the DefaultLdapCodecService. If in
In a standard standalone mode, the Bundle
| Constructor Summary | |
|---|---|
LdapApiServiceFactory()
|
|
| Method Summary | |
|---|---|
static LdapApiService |
getSingleton()
Gets the singleton instance of the LdapCodecService. |
static void |
initialize(LdapApiService ldapCodecService)
Initialization can only take place once. |
static boolean |
isInitialized()
Checks to see if the factory is initialized. |
static boolean |
isUsingStandaloneImplementation()
Checks to see if the factory is using the standalone implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdapApiServiceFactory()
| Method Detail |
|---|
public static boolean isInitialized()
public static boolean isUsingStandaloneImplementation()
public static LdapApiService getSingleton()
public static void initialize(LdapApiService ldapCodecService)
ldapCodecService - The LDAP Codec Service to initialize with.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||