@Concealed
public class ServiceMBeanUtil
extends java.lang.Object
Constructor and Description |
---|
ServiceMBeanUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
assertMappedToDefaultStore(java.lang.String absoluteName,
java.lang.String handlerName)
Check if the given MDS package is mapped to the default customization
store.
|
static java.lang.String |
buildFailureMessage(java.lang.String handlerName,
java.util.List<java.lang.String> errlist)
Construct a string value that can be used as the exception message.
|
static oracle.adf.share.logging.ADFLogger |
getUpgradeADFMetadataLogger() |
static void |
logFailure(java.lang.String doc,
java.lang.Throwable t)
Print an informational message for failing to upgrade ADF metadata for the
given MDS document.
|
static void |
logSuccess(java.lang.String doc)
Print an informational message for successfully upgrading ADF metadata for
the given MDS document.
|
static boolean |
warnAndIgnoreException(java.lang.Throwable t)
Check if the thrown exception should be caught and ignored.
|
static boolean |
warnAndIgnoreExceptionLoadingDef(java.lang.Throwable t)
Check if the thrown exception should be caught and ignored.
|
static boolean |
warnAndIgnoreExceptions()
Check if exceptions related to def object loading should be caught and
ignored.
|
public static oracle.adf.share.logging.ADFLogger getUpgradeADFMetadataLogger()
public static boolean warnAndIgnoreExceptionLoadingDef(java.lang.Throwable t)
t
- exception that was thrown during schema regeneration loadingtrue
if the specified exception indicates an error
occurred during object loading, and this process is configured to ignore
such exceptions.public static boolean warnAndIgnoreException(java.lang.Throwable t)
t
- exception that was thrown during schema regenerationtrue
if the specified exception indicates an error
occurred during object loading, and this process is configured to ignore
such exceptions.public static boolean warnAndIgnoreExceptions()
true
. To disable (i.e. to throw error),
set "oracle.adf.bugfixes.disable_24394364" logger to FINEST level.true
if this process is configured to ignore
exceptions related to def object loading.public static boolean assertMappedToDefaultStore(java.lang.String absoluteName, java.lang.String handlerName)
absoluteName
- absolute name for the MDS packagehandlerName
- ADF metadata upgrade handler nametrue
if the given MDS package is mapped to the
default customization store.public static void logSuccess(java.lang.String doc)
doc
- document namepublic static void logFailure(java.lang.String doc, java.lang.Throwable t)
doc
- document namet
- failure causepublic static java.lang.String buildFailureMessage(java.lang.String handlerName, java.util.List<java.lang.String> errlist)
handlerName
- ADF metadata upgrade handler nameerrlist
- names of documents that the given handler failed to
upgrade