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 RegistriesLdapException
- If the addition failedpublic 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 RegistriesLdapException
- If the LdapSyntax is not validCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.