public final class LdapSyntaxHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addToRegistries(LdapSyntax ldapSyntax,
List<Throwable> errors,
Registries registries)
Inject the LdapSyntax into the registries, updating the references to
other SchemaObject
|
static void |
removeFromRegistries(LdapSyntax ldapSyntax,
List<Throwable> errors,
Registries registries)
Remove the LdapSyntax from the Registries, updating the references to
other SchemaObject.
|
public static void addToRegistries(LdapSyntax ldapSyntax, List<Throwable> errors, Registries registries) throws LdapException
ldapSyntax - The LdapSyntax to add to the Registrieserrors - The errors we got while adding the LdapSyntax to the Registriesregistries - The RegistriesIf - the addition failedLdapExceptionpublic static void removeFromRegistries(LdapSyntax ldapSyntax, List<Throwable> errors, Registries registries) throws LdapException
ldapSyntax - The LdapSyntax to remove from the Registrieserrors - The errors we got while removing the LdapSyntax from the Registriesregistries - The RegistriesIf - the LdapSyntax is not validLdapExceptionCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.