Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E27155-03


oracle.security.jps.util
Class JpsLogger

java.lang.Object
  extended by oracle.security.jps.util.JpsLogger


public final class JpsLogger
extends java.lang.Object

This is a convenient class to provide the cached loggers for the JPS. All JPS classes are recommeneded to use this util class to get hold of specific logger for given JPS module type and given bundle type.


Constructor Summary
JpsLogger()
           

 

Method Summary
static java.util.logging.Logger getLogger(JpsModuleType moduleType, JpsBundleType bundleType)
          This method returns the cached logger for the given jps module type and given bundle type
static void setProductLogger(java.util.logging.Logger productLogger)
          Set a product Logger to be used with OPSS.

 

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

 

Constructor Detail

JpsLogger

public JpsLogger()

Method Detail

setProductLogger

public static void setProductLogger(java.util.logging.Logger productLogger)
Set a product Logger to be used with OPSS. The set Logger will be used for delegating OPSS log messages.
Parameters:
productLogger - The product Logger to delegate to.
Throws:
java.lang.IllegalStateException - If an attempt is made to set the product Logger after OPSS Loggers have been initialized.

getLogger

public static java.util.logging.Logger getLogger(JpsModuleType moduleType,
                                                 JpsBundleType bundleType)
This method returns the cached logger for the given jps module type and given bundle type
Parameters:
moduleType - The jps module type of JpsModuleType type
bundleType - The jps bundle tyle of JpsBundleType type
Returns:
The Logger associated with this module type and bundle type

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E27155-03


Copyright © 2011, 2013 Oracle. All rights reserved.