public interface SchemaResolver
DecodeOptions
in order to
allow application to control how Schema
instances are selected when
decoding requests and responses.
Implementations must be thread safe. More specifically, any schema caching performed by the implementation must be capable of handling multiple concurrent schema requests.
Schema
,
DecodeOptions
Modifier and Type | Field and Description |
---|---|
static SchemaResolver |
DEFAULT
A schema resolver which always returns the current default schema as
returned by
Schema.getDefaultSchema() . |
Modifier and Type | Method and Description |
---|---|
Schema |
resolveSchema(String dn)
Finds the appropriate schema for use with the provided distinguished name.
|
static final SchemaResolver DEFAULT
Schema.getDefaultSchema()
.Schema resolveSchema(String dn)
Schema resolution must always succeed regardless of any errors that occur.
dn
- The string representation of a distinguished name associated
with an entry whose schema is to be located.Copyright 2010-2022 ForgeRock AS.