public interface OsonProvider extends OracleResourceProvider
A provider to create an OsonConverter for conversion of
POJO to OSON bytes and vice versa.
The
oracle.jdbc.provider.oson
connection property identifies the name of a
OsonProvider implementation.
ServiceLoader locates implementations of
OsonProvider declared by a
META-INF/services/oracle.jdbc.spi.OsonProvider file in
the class path. Typically, this file is distributed within a jar file
that contains a OsonProvider implementation.
OracleResourceProvider.Parameter| Modifier and Type | Method and Description |
|---|---|
OsonConverter |
getOsonConverter(java.util.Map<OracleResourceProvider.Parameter,java.lang.CharSequence> parameterValues)
Returns the OsonConverter implementation to be used by the
driver for conversions of OSON bytes to POJO and vice versa.
|
getName, getParametersOsonConverter getOsonConverter(java.util.Map<OracleResourceProvider.Parameter,java.lang.CharSequence> parameterValues)
parameterValues - any parameters required to configure
the converter. May be null if no configuration is required.