SiteMinder
Java SDK r12.51


com.netegrity.policyserver.smapi
Class APIContextLogger

java.lang.Object
  extended by com.netegrity.policyserver.smapi.APIContext
      extended by com.netegrity.policyserver.smapi.APIContextLogger
Direct Known Subclasses:
SmAPIContextLogger

public class APIContextLogger
extends APIContext

This class is a wrapper for the SmLogger class from common/smerrlog-java, which provides logging and tracing access to the common C++ logging facility.


Field Summary
 
Fields inherited from class com.netegrity.policyserver.smapi.APIContext
SM_API_VERSION_V3, SM_API_VERSION_V4, SM_API_VERSION_V4_1
 
Method Summary
 void error(java.lang.String sFName, java.lang.String sMsg)
          Logs an error message from a customer plugin.
 void log(java.lang.String sFName, java.lang.String sMsg)
          Logs an info or error message from a customer plugin.
 void trace(java.lang.String sFName, java.lang.String sFuncName, java.lang.String sMsg)
          Logs a trace message from a customer plugin.
 
Methods inherited from class com.netegrity.policyserver.smapi.APIContext
error, getAppSpecificContext, getAttrMap, getVersion, log, trace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

log

public void log(java.lang.String sFName,
                java.lang.String sMsg)
Logs an info or error message from a customer plugin.

Parameters:
sFName - the file name which is logging this message.
sMsg - the message to be logged.

trace

public void trace(java.lang.String sFName,
                  java.lang.String sFuncName,
                  java.lang.String sMsg)
Logs a trace message from a customer plugin.

Parameters:
sFName - the file name which is logging this message.
sFuncName - the name of the function logging this message.
sMsg - the message to be logged.

error

public void error(java.lang.String sFName,
                  java.lang.String sMsg)
Logs an error message from a customer plugin.

Parameters:
sFName - the file name which is logging this message.
sMsg - the message to be logged.

SiteMinder
Java SDK r12.51

Mon 04/08/2013

http://ca.com
Copyright (c) 2013 CA.