public abstract class AdfMetadataEnvironment extends java.lang.Object implements MetadataEnvironment
MetadataEnvironment.DiagnosticRecord, MetadataEnvironment.DiagnosticRecorder, MetadataEnvironment.DiagnosticsCapable
MDS_DEFAULT_CUST_STORE_REPOSITORY
Modifier and Type | Method and Description |
---|---|
static java.lang.Throwable |
getLastPrepareDefaultMetadataContextError()
Returns the error from the last invocation of
prepareDefaultMetadataContext() if any. |
static java.lang.Throwable |
prepareDefaultMetadataContext()
Prepares the default metadata context, including configuring the current
ADFSessionOptions object. |
static java.lang.Throwable |
prepareDefaultMetadataContext(java.util.Map<AdfMetadataContextInitParam,java.lang.Object> initParams)
Prepares the default metadata context, including configuring the current
ADFSessionOptions object with optional configuration
parameters. |
static java.lang.Throwable |
resetDefaultMetadataContext()
Resets the default metadata context, including releasing any lock that was
accquired by
prepareDefaultMetadataContext . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRepositoryBaseline
public static final java.lang.Throwable prepareDefaultMetadataContext()
ADFSessionOptions
object.null
if
successful. The returned error is usually an
AdfMetadataContextException
object unless
the framework fails to construct the exception.public static final java.lang.Throwable prepareDefaultMetadataContext(java.util.Map<AdfMetadataContextInitParam,java.lang.Object> initParams)
ADFSessionOptions
object with optional configuration
parameters.initParams
- parameters to configure the preparation process;
null
if not applicablenull
if
successful. The returned error is usually an
AdfMetadataContextException
object unless
the framework fails to construct the exception.public static java.lang.Throwable getLastPrepareDefaultMetadataContextError()
prepareDefaultMetadataContext()
if any.prepareDefaultMetadataContext()
; null
if the last invocation was successful or
prepareDefaultMetadataContext()
has never been
invokedpublic static java.lang.Throwable resetDefaultMetadataContext()
prepareDefaultMetadataContext
.null
if successful