Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.log
Class AppsLoggerHelper

java.lang.Object
  extended by oracle.apps.fnd.applcore.log.AppsLoggerHelper

public abstract class AppsLoggerHelper
extends java.lang.Object

A helper class for the AppsLogger static API. It does the following:

It provides a number of internal helper methods for AppsLogger API.

Since:
11gR1
Version:
$Header: atgpf/applcore/applications/Logging/Model/src/oracle/apps/fnd/applcore/log/AppsLoggerHelper.java /main/52 2010/11/10 12:45:58 lwong Exp $
Oracle

Field Summary
static java.lang.String APPS_COMPONENT_NAME
           
static java.lang.String COMPONENT_INSTANCE_ID_KEY
           
static java.lang.String COMPONENT_NAME_KEY
           
static java.lang.String COMPOSITE_INSTANCE_ID_KEY
           
static java.lang.String COMPOSITE_NAME_KEY
           
static java.lang.String RCS_ID
           
 
Method Summary
static void clearSupplementalAttributes()
          Utility method to clear the supplemental attribute map
static void initializeAppsLogger()
          Initialize the AppsLogger.
static java.lang.String setSupplementalAttribute(java.lang.String name, java.lang.String value)
          Utility method to register a supplemental attribute name and set the value for it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID
See Also:
Constant Field Values

APPS_COMPONENT_NAME

public static final java.lang.String APPS_COMPONENT_NAME
See Also:
Constant Field Values

COMPONENT_NAME_KEY

public static final java.lang.String COMPONENT_NAME_KEY
See Also:
Constant Field Values

COMPOSITE_NAME_KEY

public static final java.lang.String COMPOSITE_NAME_KEY
See Also:
Constant Field Values

COMPONENT_INSTANCE_ID_KEY

public static final java.lang.String COMPONENT_INSTANCE_ID_KEY
See Also:
Constant Field Values

COMPOSITE_INSTANCE_ID_KEY

public static final java.lang.String COMPOSITE_INSTANCE_ID_KEY
See Also:
Constant Field Values
Method Detail

initializeAppsLogger

public static final void initializeAppsLogger()
Initialize the AppsLogger.

This instantiates the internal instances behind the AppsLogger API. It reads the AppsLogger configuration from the System properties and the AFLOG_* profile option values (from the database), then stores the effective configuration values in the ThreadLocals.

Due to the hit on the database, only call this if absolutely necessary, and if you do, be careful on how often you are calling this API.

This is automatically called when the AppsLogger framework is first loaded, you do not need to explicitly initialize the AppsLogger, unless you are re-initializing AppsLogger for testing purpose.


setSupplementalAttribute

public static java.lang.String setSupplementalAttribute(java.lang.String name,
                                                        java.lang.String value)
Utility method to register a supplemental attribute name and set the value for it.

It is okay if name has previously been registered.

This is an API intended only for SOA BPEL and XPath services.

Parameters:
name - name of the supplemental attribute
value - its value
Returns:
the name that is actually registered

clearSupplementalAttributes

public static void clearSupplementalAttributes()
Utility method to clear the supplemental attribute map

This is an API intended only for SOA BPEL and XPath services.


Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.