Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


oracle.adfinternal.model.logging.contextual.logger.functional
Class DefaultFunctionalLogger

java.lang.Object
  extended by oracle.adf.share.logging.ADFLogger
      extended by oracle.adfinternal.model.logging.contextual.logger.functional.DefaultFunctionalLogger

All Implemented Interfaces:
BasicContextualLogger, BasicFunctionalLogger, FunctionalLogger, BasicLogger, ConfigLogger, FineLogger, FinerLogger, FinestLogger, InfoLogger, SevereLogger, WarningLogger

public class DefaultFunctionalLogger
extends oracle.adf.share.logging.ADFLogger
implements FunctionalLogger

Default implementation of interface FunctionalLogger.

It will keep track of its ongoing functional activities by maintaining an internal activity stack. The top of the stack will always be considered the current activity.

Calling close() will cause the logger to automatically and orderly end all activities pending in the stack, if any, from top to bottom.

The logger instance will become unusable after closed.

Since:
11.1.1.7.2

Nested Class Summary
protected static class DefaultFunctionalLogger.Activity
          Simple java bean wrapping properties of functional activity started by the logger.

 

Field Summary

 

Fields inherited from class oracle.adf.share.logging.ADFLogger
ADD_CONTEXT_DATA_TAG, ADD_REQUEST_MESSAGE_TAG, ADF_ANALYTICS_LOGGER_NAME, ADF_COMPONENT_NAME, ADF_LOGGER_MESSAGE_BUNDLE, ADF_MESSAGE_ACTION_DESC, ADF_MESSAGE_ACTION_NAME, ADF_MESSAGE_CONTEXT_DATA, ADF_MESSAGE_DEFAULT_CONTEXT_DATA, ADF_MESSAGE_DELIMITER, ADF_MESSAGE_PAYLOAD, ADF_MESSAGE_STATUS, ADF_NODE_END, ADF_PERF_LOGGER_NAME, ADF_WEB_REQUEST, ENTERING_TAG, ENTERRING_TAG, ERROR, EXITING_TAG, INTERNAL_ERROR, NOTIFICATION, TRACE, WARNING

 

Fields inherited from interface oracle.adfinternal.model.logging.logger.SevereLogger
LEVEL

 

Fields inherited from interface oracle.adfinternal.model.logging.logger.WarningLogger
LEVEL

 

Fields inherited from interface oracle.adfinternal.model.logging.logger.InfoLogger
LEVEL

 

Fields inherited from interface oracle.adfinternal.model.logging.logger.ConfigLogger
LEVEL

 

Fields inherited from interface oracle.adfinternal.model.logging.logger.FineLogger
LEVEL

 

Fields inherited from interface oracle.adfinternal.model.logging.logger.FinerLogger
LEVEL

 

Fields inherited from interface oracle.adfinternal.model.logging.logger.FinestLogger
LEVEL

 

Constructor Summary
protected DefaultFunctionalLogger(java.lang.String loggerName, java.lang.String componentName, java.lang.String resourceBundle)
           

 

Method Summary
 void addContextData(java.util.logging.Level level, java.util.Map<java.lang.String,java.lang.String> contextData)
          This method will add the given context data map's content to the current functional activity started by the latest call to beginActivity.
 void addContextData(java.util.logging.Level level, java.lang.String name, java.lang.String value)
          This method will add the given name/value pair as additional context data to the current functional activity started by the latest call to beginActivity.
 void addContextData(java.util.Map<java.lang.String,java.lang.String> contextData)
          This method will add the given context data map's content to the current functional activity started by the latest call to beginActivity.
 void addContextData(java.lang.String name, java.lang.String value)
          This method will add the given name/value pair as additional context data to the current functional activity started by the latest call to beginActivity.
protected  boolean assertLoggable(java.util.logging.Level level)
          Equivalent to calling both assertOpened() and ADFLogger.isLoggable(Level) in sequence.
protected  void assertOpened()
          Assert that the logger instance is open.
 void beginActivity(java.util.logging.Level level, java.lang.String activity)
          This method will start a new functional activity section in the log, if and only if the the logger is currently set to publish messages at the specified level.
 void beginActivity(java.util.logging.Level level, java.lang.String activity, java.util.Map<java.lang.String,java.lang.String> contextData)
          This method will start a new functional activity section in the log, if and only if the the logger is currently set to publish messages at the specified level.
protected  void captureErrorData(java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Capture relevant data from the given error in the given context data map
 void close()
          This method is mainly intended to be called by the ContextualLoggingManager when the logger is being removed from the context.
 void config(java.lang.String message)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void config(java.lang.String message, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void config(java.lang.String message, java.lang.Throwable error)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void config(java.lang.String message, java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void config(java.lang.Throwable error)
          Log a message at level , based on the given error.
 void config(java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , based on the given error.
protected  java.util.Map<java.lang.String,java.lang.String> createContextDataMap()
           
protected  java.util.Map<java.lang.String,java.lang.String> createContextDataMap(java.util.Map<java.lang.String,java.lang.String> data)
           
protected  void doAddContextData(DefaultFunctionalLogger.Activity activity, java.util.Map<java.lang.String,java.lang.String> contextData)
           
protected  void doLog(java.util.logging.Level level, java.lang.String message, java.util.Map<java.lang.String,java.lang.String> contextData)
           
 void endCurrentActivity()
          This method will mark the end of the current functional activity section in the log.
 void endCurrentActivity(java.util.Map<java.lang.String,java.lang.String> contextData)
          This method will mark the end of the current functional activity section in the log.
 void endCurrentActivity(java.lang.Throwable error)
          This method will mark the end of the current functional activity section in the log, adding details of the given error as context data to the ending activity.
 void endCurrentActivity(java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          This method will mark the end of the current functional activity section in the log, adding details of the given error plus the given context data map's content to the ending functional activity.
 void fine(java.lang.String message)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void fine(java.lang.String message, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void fine(java.lang.String message, java.lang.Throwable error)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void fine(java.lang.String message, java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void fine(java.lang.Throwable error)
          Log a message at level , based on the given error.
 void fine(java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , based on the given error.
 void finer(java.lang.String message)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void finer(java.lang.String message, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void finer(java.lang.String message, java.lang.Throwable error)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void finer(java.lang.String message, java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void finer(java.lang.Throwable error)
          Log a message at level , based on the given error.
 void finer(java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , based on the given error.
 void finest(java.lang.String message)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void finest(java.lang.String message, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void finest(java.lang.String message, java.lang.Throwable error)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void finest(java.lang.String message, java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void finest(java.lang.Throwable error)
          Log a message at level , based on the given error.
 void finest(java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , based on the given error.
 java.lang.String getComponent()
          Get the logging component name determined by the logger's domain
 java.lang.String getCurrentActivity()
          Retrieve the name of the current functional activity started by the latest call to beginActivity, if any.
protected  DefaultFunctionalLogger.Activity getCurrentActivityWrapper()
          Get the DefaultFunctionalLogger.Activity bean containing information about the current functional activity.
protected  java.lang.Throwable getRootCause(java.lang.Throwable error)
          Find the root cause of the given error
 void info(java.lang.String message)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void info(java.lang.String message, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void info(java.lang.String message, java.lang.Throwable error)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void info(java.lang.String message, java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void info(java.lang.Throwable error)
          Log a message at level , based on the given error.
 void info(java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , based on the given error.
 boolean isConfig()
          Confirms whether or not the logger is currently set to publish messages at level .
 boolean isFine()
          Confirms whether or not the logger is currently set to publish messages at level .
 boolean isFiner()
          Confirms whether or not the logger is currently set to publish messages at level .
 boolean isFinest()
          Confirms whether or not the logger is currently set to publish messages at level .
 boolean isInfo()
          Confirms whether or not the logger is currently set to publish messages at level .
 boolean isSevere()
          Confirms whether or not the logger is currently set to publish messages at level .
 boolean isWarning()
          Confirms whether or not the logger is currently set to publish messages at level .
 void log(java.util.logging.Level level, java.lang.String message)
          Log a message at the specified level, if and only if the logger is currently set to publish messages at that level.
 void log(java.util.logging.Level level, java.lang.String message, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at the specified level, if and only if the logger is currently set to publish messages at that level.
 void log(java.util.logging.Level level, java.lang.String message, java.lang.Throwable error)
          Log a message at the specified level, if and only if the logger is currently set to publish messages at that level.
 void log(java.util.logging.Level level, java.lang.String message, java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at the specified level, if and only if the logger is currently set to publish messages at that level.
 void log(java.util.logging.Level level, java.lang.Throwable error)
          Log a message at the specified level, based on the given error, if and only if the logger is currently set to publish messages at that level.
 void log(java.util.logging.Level level, java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at the specified level, based on the given error, if and only if the logger is currently set to publish messages at that level.
protected  void seedContextData(java.util.Map<java.lang.String,java.lang.String> contextData)
           
 void severe(java.lang.String message)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void severe(java.lang.String message, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void severe(java.lang.String message, java.lang.Throwable error)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void severe(java.lang.String message, java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void severe(java.lang.Throwable error)
          Log a message at level , based on the given error.
 void severe(java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , based on the given error.
 java.lang.String toString()
          Will return the logger's name
 void warning(java.lang.String message)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void warning(java.lang.String message, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void warning(java.lang.String message, java.lang.Throwable error)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void warning(java.lang.String message, java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void warning(java.lang.Throwable error)
          Log a message at level , based on the given error.
 void warning(java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.String> contextData)
          Log a message at level , based on the given error.

 

Methods inherited from class oracle.adf.share.logging.ADFLogger
addContextData, addContextData, addContextData, addHandler, addRequestMessage, begin, begin, begin, beginRequest, config, config, config, createADFLogger, createADFLogger, createADFLogger, createADFLogger, createADFLogger, createADFLogger, end, end, end, endRequest, entering, entering, entering, exiting, exiting, fine, fine, fine, fine, fine, finer, finer, finer, finer, finer, finest, finest, finest, finest, finest, flush, getAnonymousLogger, getAnonymousLogger, getECID, getFilter, getFormattedMessage, getFormattedMessage, getHandlers, getLevel, getLogger, getName, getParent, getResourceBundle, getResourceBundleName, getUseParentHandlers, info, info, info, info, info, internal, internal, internal, internal, isInternal, isLoggable, log, log, log, log, log, logp, logp, logp, logp, logp, logp, logrb, logrb, logrb, logrb, logrb, LogRelativeADFRequest, removeHandler, setECID, setFilter, setLevel, setParent, setUseParentHandlers, severe, severe, severe, severe, severe, throwing, throwing, warning, warning, warning, warning, warning

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface oracle.adfinternal.model.logging.logger.BasicLogger
getName, isLoggable

 

Methods inherited from interface oracle.adfinternal.model.logging.logger.FinerLogger
entering, entering, exiting, exiting, throwing

 

Constructor Detail

DefaultFunctionalLogger

protected DefaultFunctionalLogger(java.lang.String loggerName,
                                  java.lang.String componentName,
                                  java.lang.String resourceBundle)

Method Detail

getComponent

public java.lang.String getComponent()
Description copied from interface: BasicFunctionalLogger
Get the logging component name determined by the logger's domain
Specified by:
getComponent in interface BasicFunctionalLogger
Returns:
The logging component name or null if none was defined

getCurrentActivity

public java.lang.String getCurrentActivity()
Description copied from interface: BasicFunctionalLogger
Retrieve the name of the current functional activity started by the latest call to beginActivity, if any.
Specified by:
getCurrentActivity in interface BasicFunctionalLogger
Returns:
The current activity's name or null if there's none.

getCurrentActivityWrapper

protected DefaultFunctionalLogger.Activity getCurrentActivityWrapper()
Get the DefaultFunctionalLogger.Activity bean containing information about the current functional activity.
Returns:
The Activity bean for the current activity or null if there's none

addContextData

public void addContextData(java.lang.String name,
                           java.lang.String value)
Description copied from interface: BasicFunctionalLogger
This method will add the given name/value pair as additional context data to the current functional activity started by the latest call to beginActivity.
Specified by:
addContextData in interface BasicFunctionalLogger
Parameters:
name - Name of the context data property
value - Value of the context data property

addContextData

public void addContextData(java.util.logging.Level level,
                           java.lang.String name,
                           java.lang.String value)
Description copied from interface: BasicFunctionalLogger
This method will add the given name/value pair as additional context data to the current functional activity started by the latest call to beginActivity.
Specified by:
addContextData in interface BasicFunctionalLogger
Parameters:
level - Logging level at which the method will be effective
name - Name of the context data property
value - Value of the context data property

addContextData

public void addContextData(java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: BasicFunctionalLogger
This method will add the given context data map's content to the current functional activity started by the latest call to beginActivity.
Specified by:
addContextData in interface BasicFunctionalLogger
Parameters:
contextData - Map with context data properties to add to the current functional activity

addContextData

public void addContextData(java.util.logging.Level level,
                           java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: BasicFunctionalLogger
This method will add the given context data map's content to the current functional activity started by the latest call to beginActivity.
Specified by:
addContextData in interface BasicFunctionalLogger
Parameters:
level - Logging level at which the method will be effective
contextData - Map with context data properties to add to the current functional activity

doAddContextData

protected final void doAddContextData(DefaultFunctionalLogger.Activity activity,
                                      java.util.Map<java.lang.String,java.lang.String> contextData)

log

public void log(java.util.logging.Level level,
                java.lang.String message)
Description copied from interface: BasicLogger
Log a message at the specified level, if and only if the logger is currently set to publish messages at that level.
Specified by:
log in interface BasicLogger
Overrides:
log in class oracle.adf.share.logging.ADFLogger
Parameters:
level - The level which the message should be logged at
message - The message to be logged

log

public void log(java.util.logging.Level level,
                java.lang.String message,
                java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: BasicFunctionalLogger
Log a message at the specified level, if and only if the logger is currently set to publish messages at that level. In addition, this method will also add the given context data map's content to the latest functional activity started by the latest call to beginActivity.
Specified by:
log in interface BasicFunctionalLogger
Parameters:
level - The level which the message should be logged at
message - The message to be logged
contextData - Optional map with context data properties to add to the current functional activity

log

public void log(java.util.logging.Level level,
                java.lang.String message,
                java.lang.Throwable error)
Description copied from interface: BasicLogger
Log a message at the specified level, if and only if the logger is currently set to publish messages at that level.
Specified by:
log in interface BasicLogger
Overrides:
log in class oracle.adf.share.logging.ADFLogger
Parameters:
level - The level which the message should be logged at
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.

log

public void log(java.util.logging.Level level,
                java.lang.Throwable error)
Description copied from interface: BasicLogger
Log a message at the specified level, based on the given error, if and only if the logger is currently set to publish messages at that level.
Specified by:
log in interface BasicLogger
Parameters:
level - The level which the message should be logged at
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.

log

public void log(java.util.logging.Level level,
                java.lang.Throwable error,
                java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: BasicFunctionalLogger
Log a message at the specified level, based on the given error, if and only if the logger is currently set to publish messages at that level. In addition, this method will also add the given context data map's content to the latest functional activity started by the latest call to beginActivity.
Specified by:
log in interface BasicFunctionalLogger
Parameters:
level - The level which the message should be logged at
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.
contextData - Optional map with context data properties to add to the current functional activity

log

public void log(java.util.logging.Level level,
                java.lang.String message,
                java.lang.Throwable error,
                java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: BasicFunctionalLogger
Log a message at the specified level, if and only if the logger is currently set to publish messages at that level. In addition, this method will also add the given context data map's content to the latest functional activity started by the latest call to beginActivity.
Specified by:
log in interface BasicFunctionalLogger
Parameters:
level - The level which the message should be logged at
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.
contextData - Optional map with context data properties to add to the current functional activity

toString

public java.lang.String toString()
Will return the logger's name
Overrides:
toString in class java.lang.Object
Returns:

captureErrorData

protected void captureErrorData(java.lang.Throwable error,
                                java.util.Map<java.lang.String,java.lang.String> contextData)
Capture relevant data from the given error in the given context data map
Parameters:
error - The error which to capture relevant data from
contextData - The context data map where the captured data will be stored

getRootCause

protected final java.lang.Throwable getRootCause(java.lang.Throwable error)
Find the root cause of the given error
Parameters:
error - The error which to search for the root cause of
Returns:
The error's root cause or null if there's none

assertOpened

protected final void assertOpened()
Assert that the logger instance is open. In other words, assert that close() has not yet been called.
Throws:
java.lang.IllegalStateException - If the logger instance is closed

assertLoggable

protected final boolean assertLoggable(java.util.logging.Level level)
Equivalent to calling both assertOpened() and ADFLogger.isLoggable(Level) in sequence.
Parameters:
level - Level to be verified
Returns:
true if and only the logger is not closed and is set to publish messages at the given level

close

public void close()
This method is mainly intended to be called by the ContextualLoggingManager when the logger is being removed from the context. Implementations should use this method to cleanup internal state, if necessary.

In this implementation, calling this method will cause the logger to automatically and orderly end all activities pending in the stack, if any, from top to bottom.

The logger instance will become unusable after closed.

Specified by:
close in interface BasicContextualLogger

beginActivity

public void beginActivity(java.util.logging.Level level,
                          java.lang.String activity)
Description copied from interface: BasicFunctionalLogger
This method will start a new functional activity section in the log, if and only if the the logger is currently set to publish messages at the specified level.
Specified by:
beginActivity in interface BasicFunctionalLogger
Parameters:
level - Logging level at which the method will be effective
activity - The functional activity's name

beginActivity

public void beginActivity(java.util.logging.Level level,
                          java.lang.String activity,
                          java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: BasicFunctionalLogger
This method will start a new functional activity section in the log, if and only if the the logger is currently set to publish messages at the specified level. In addition, this method will also add the given context data map's content to the new functional activity.
Specified by:
beginActivity in interface BasicFunctionalLogger
Parameters:
level - Logging level at which the method will be effective
activity - The functional activity's name
contextData - Optional map with context data properties to add to the new functional activity

endCurrentActivity

public void endCurrentActivity(java.lang.Throwable error)
Description copied from interface: BasicFunctionalLogger
This method will mark the end of the current functional activity section in the log, adding details of the given error as context data to the ending activity.
Specified by:
endCurrentActivity in interface BasicFunctionalLogger
Parameters:
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.

endCurrentActivity

public void endCurrentActivity(java.lang.Throwable error,
                               java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: BasicFunctionalLogger
This method will mark the end of the current functional activity section in the log, adding details of the given error plus the given context data map's content to the ending functional activity.
Specified by:
endCurrentActivity in interface BasicFunctionalLogger
Parameters:
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.
contextData - Optional map with context data properties to add to the current functional activity

endCurrentActivity

public void endCurrentActivity()
Description copied from interface: BasicFunctionalLogger
This method will mark the end of the current functional activity section in the log.
Specified by:
endCurrentActivity in interface BasicFunctionalLogger

endCurrentActivity

public void endCurrentActivity(java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: BasicFunctionalLogger
This method will mark the end of the current functional activity section in the log. In addition, this method will also add the given context data map's content to the ending functional activity.
Specified by:
endCurrentActivity in interface BasicFunctionalLogger
Parameters:
contextData - Optional map with context data properties to add to the current functional activity

seedContextData

protected void seedContextData(java.util.Map<java.lang.String,java.lang.String> contextData)

createContextDataMap

protected final java.util.Map<java.lang.String,java.lang.String> createContextDataMap()

createContextDataMap

protected final java.util.Map<java.lang.String,java.lang.String> createContextDataMap(java.util.Map<java.lang.String,java.lang.String> data)

doLog

protected final void doLog(java.util.logging.Level level,
                           java.lang.String message,
                           java.util.Map<java.lang.String,java.lang.String> contextData)

severe

public void severe(java.lang.String message)
Description copied from interface: SevereLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
severe in interface SevereLogger
Overrides:
severe in class oracle.adf.share.logging.ADFLogger
Parameters:
message - The message to be logged

severe

public void severe(java.lang.String message,
                   java.lang.Throwable error)
Description copied from interface: SevereLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
severe in interface SevereLogger
Overrides:
severe in class oracle.adf.share.logging.ADFLogger
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.

severe

public void severe(java.lang.String message,
                   java.lang.Throwable error,
                   java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
severe in interface FunctionalLogger
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

severe

public void severe(java.lang.String message,
                   java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
severe in interface FunctionalLogger
Parameters:
message - The message to be logged
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

severe

public void severe(java.lang.Throwable error)
Description copied from interface: SevereLogger
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Specified by:
severe in interface SevereLogger
Overrides:
severe in class oracle.adf.share.logging.ADFLogger
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.

severe

public void severe(java.lang.Throwable error,
                   java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Specified by:
severe in interface FunctionalLogger
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

isSevere

public boolean isSevere()
Description copied from interface: SevereLogger
Confirms whether or not the logger is currently set to publish messages at level .
Specified by:
isSevere in interface SevereLogger
Overrides:
isSevere in class oracle.adf.share.logging.ADFLogger
Returns:
true is and only if the logger is currently set to publish messages at level

warning

public void warning(java.lang.String message)
Description copied from interface: WarningLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
warning in interface WarningLogger
Overrides:
warning in class oracle.adf.share.logging.ADFLogger
Parameters:
message - The message to be logged

warning

public void warning(java.lang.String message,
                    java.lang.Throwable error)
Description copied from interface: WarningLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
warning in interface WarningLogger
Overrides:
warning in class oracle.adf.share.logging.ADFLogger
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.

warning

public void warning(java.lang.String message,
                    java.lang.Throwable error,
                    java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
warning in interface FunctionalLogger
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

warning

public void warning(java.lang.String message,
                    java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
warning in interface FunctionalLogger
Parameters:
message - The message to be logged
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

warning

public void warning(java.lang.Throwable error)
Description copied from interface: WarningLogger
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Specified by:
warning in interface WarningLogger
Overrides:
warning in class oracle.adf.share.logging.ADFLogger
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.

warning

public void warning(java.lang.Throwable error,
                    java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Specified by:
warning in interface FunctionalLogger
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

isWarning

public boolean isWarning()
Description copied from interface: WarningLogger
Confirms whether or not the logger is currently set to publish messages at level .
Specified by:
isWarning in interface WarningLogger
Overrides:
isWarning in class oracle.adf.share.logging.ADFLogger
Returns:
true is and only if the logger is currently set to publish messages at level

info

public void info(java.lang.String message)
Description copied from interface: InfoLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
info in interface InfoLogger
Overrides:
info in class oracle.adf.share.logging.ADFLogger
Parameters:
message - The message to be logged

info

public void info(java.lang.String message,
                 java.lang.Throwable error)
Description copied from interface: InfoLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
info in interface InfoLogger
Overrides:
info in class oracle.adf.share.logging.ADFLogger
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.

info

public void info(java.lang.String message,
                 java.lang.Throwable error,
                 java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
info in interface FunctionalLogger
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

info

public void info(java.lang.String message,
                 java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
info in interface FunctionalLogger
Parameters:
message - The message to be logged
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

info

public void info(java.lang.Throwable error)
Description copied from interface: InfoLogger
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Specified by:
info in interface InfoLogger
Overrides:
info in class oracle.adf.share.logging.ADFLogger
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.

info

public void info(java.lang.Throwable error,
                 java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Specified by:
info in interface FunctionalLogger
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

isInfo

public boolean isInfo()
Description copied from interface: InfoLogger
Confirms whether or not the logger is currently set to publish messages at level .
Specified by:
isInfo in interface InfoLogger
Overrides:
isInfo in class oracle.adf.share.logging.ADFLogger
Returns:
true is and only if the logger is currently set to publish messages at level

config

public void config(java.lang.String message)
Description copied from interface: ConfigLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
config in interface ConfigLogger
Overrides:
config in class oracle.adf.share.logging.ADFLogger
Parameters:
message - The message to be logged

config

public void config(java.lang.String message,
                   java.lang.Throwable error)
Description copied from interface: ConfigLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
config in interface ConfigLogger
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.

config

public void config(java.lang.String message,
                   java.lang.Throwable error,
                   java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
config in interface FunctionalLogger
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

config

public void config(java.lang.Throwable error)
Description copied from interface: ConfigLogger
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Specified by:
config in interface ConfigLogger
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.

config

public void config(java.lang.Throwable error,
                   java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Specified by:
config in interface FunctionalLogger
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

config

public void config(java.lang.String message,
                   java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
config in interface FunctionalLogger
Parameters:
message - The message to be logged
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

isConfig

public boolean isConfig()
Description copied from interface: ConfigLogger
Confirms whether or not the logger is currently set to publish messages at level .
Specified by:
isConfig in interface ConfigLogger
Overrides:
isConfig in class oracle.adf.share.logging.ADFLogger
Returns:
true is and only if the logger is currently set to publish messages at level

fine

public void fine(java.lang.String message)
Description copied from interface: FineLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
fine in interface FineLogger
Overrides:
fine in class oracle.adf.share.logging.ADFLogger
Parameters:
message - The message to be logged

fine

public void fine(java.lang.String message,
                 java.lang.Throwable error)
Description copied from interface: FineLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
fine in interface FineLogger
Overrides:
fine in class oracle.adf.share.logging.ADFLogger
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.

fine

public void fine(java.lang.String message,
                 java.lang.Throwable error,
                 java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
fine in interface FunctionalLogger
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

fine

public void fine(java.lang.String message,
                 java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
fine in interface FunctionalLogger
Parameters:
message - The message to be logged
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

fine

public void fine(java.lang.Throwable error)
Description copied from interface: FineLogger
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Specified by:
fine in interface FineLogger
Overrides:
fine in class oracle.adf.share.logging.ADFLogger
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.

fine

public void fine(java.lang.Throwable error,
                 java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Specified by:
fine in interface FunctionalLogger
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

isFine

public boolean isFine()
Description copied from interface: FineLogger
Confirms whether or not the logger is currently set to publish messages at level .
Specified by:
isFine in interface FineLogger
Overrides:
isFine in class oracle.adf.share.logging.ADFLogger
Returns:
true is and only if the logger is currently set to publish messages at level

finer

public void finer(java.lang.String message)
Description copied from interface: FinerLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
finer in interface FinerLogger
Overrides:
finer in class oracle.adf.share.logging.ADFLogger
Parameters:
message - The message to be logged

finer

public void finer(java.lang.String message,
                  java.lang.Throwable error)
Description copied from interface: FinerLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
finer in interface FinerLogger
Overrides:
finer in class oracle.adf.share.logging.ADFLogger
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.

finer

public void finer(java.lang.String message,
                  java.lang.Throwable error,
                  java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
finer in interface FunctionalLogger
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

finer

public void finer(java.lang.String message,
                  java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
finer in interface FunctionalLogger
Parameters:
message - The message to be logged
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

finer

public void finer(java.lang.Throwable error)
Description copied from interface: FinerLogger
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Specified by:
finer in interface FinerLogger
Overrides:
finer in class oracle.adf.share.logging.ADFLogger
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.

finer

public void finer(java.lang.Throwable error,
                  java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Specified by:
finer in interface FunctionalLogger
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

isFiner

public boolean isFiner()
Description copied from interface: FinerLogger
Confirms whether or not the logger is currently set to publish messages at level .
Specified by:
isFiner in interface FinerLogger
Overrides:
isFiner in class oracle.adf.share.logging.ADFLogger
Returns:
true is and only if the logger is currently set to publish messages at level

finest

public void finest(java.lang.String message)
Description copied from interface: FinestLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
finest in interface FinestLogger
Overrides:
finest in class oracle.adf.share.logging.ADFLogger
Parameters:
message - The message to be logged

finest

public void finest(java.lang.String message,
                   java.lang.Throwable error)
Description copied from interface: FinestLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
finest in interface FinestLogger
Overrides:
finest in class oracle.adf.share.logging.ADFLogger
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.

finest

public void finest(java.lang.String message,
                   java.lang.Throwable error,
                   java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
finest in interface FunctionalLogger
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

finest

public void finest(java.lang.String message,
                   java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Specified by:
finest in interface FunctionalLogger
Parameters:
message - The message to be logged
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

finest

public void finest(java.lang.Throwable error)
Description copied from interface: FinestLogger
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Specified by:
finest in interface FinestLogger
Overrides:
finest in class oracle.adf.share.logging.ADFLogger
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.

finest

public void finest(java.lang.Throwable error,
                   java.util.Map<java.lang.String,java.lang.String> contextData)
Description copied from interface: FunctionalLogger
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Specified by:
finest in interface FunctionalLogger
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.
contextData - Optional contextual data map to be added to the message as part of the value for supplemental attribute "ADF_MESSAGE_CONTEXT_DATA"

isFinest

public boolean isFinest()
Description copied from interface: FinestLogger
Confirms whether or not the logger is currently set to publish messages at level .
Specified by:
isFinest in interface FinestLogger
Overrides:
isFinest in class oracle.adf.share.logging.ADFLogger
Returns:
true is and only if the logger is currently set to publish messages at level

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


Copyright © 1997, 2015, Oracle. All rights reserved.