Xindice API

org.apache.xindice.server.standard
Class StdLogManager

java.lang.Object
  |
  +--org.apache.xindice.server.standard.StdLogManager
All Implemented Interfaces:
Configurable, Disposable, KernelAccess, LogManager, Task

public final class StdLogManager
extends java.lang.Object
implements Configurable, LogManager, KernelAccess, Disposable, Task

StdLogManager


Fields inherited from interface org.apache.xindice.server.LogManager
LOG_ERROR, LOG_EXCEPTION, LOG_FATAL, LOG_GENERAL, LOG_WARNING
 
Constructor Summary
StdLogManager()
           
 
Method Summary
 void dispose()
          dispose disposes of the object instance.
 Configuration getConfig()
          getConfig retrieves the configuration information for the Configurable object instance.
 void logMessage(int type, java.lang.String message)
          logMessage logs a message to the LogManager.
 void logMessage(int type, java.lang.String host, java.lang.String message)
          logMessage logs a message to the LogManager.
 void logMessage(int type, java.lang.String host, java.lang.String user, java.lang.String message)
          logMessage logs a message to the LogManager.
 void runTask()
          runTask is the entry point for a Xindice interval-based Task.
 void setConfig(Configuration config)
          setConfig sets the configuration information for the Configurable object instance.
 void setKernel(Kernel kernel)
          setKernel provides a Kernel callback interface to the implementing object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdLogManager

public StdLogManager()
Method Detail

setKernel

public void setKernel(Kernel kernel)
Description copied from interface: KernelAccess
setKernel provides a Kernel callback interface to the implementing object.
Specified by:
setKernel in interface KernelAccess
Following copied from interface: org.apache.xindice.server.KernelAccess
Parameters:
kernel - the Kernel reference

setConfig

public void setConfig(Configuration config)
Description copied from interface: Configurable
setConfig sets the configuration information for the Configurable object instance.
Specified by:
setConfig in interface Configurable
Following copied from interface: org.apache.xindice.util.Configurable
Parameters:
config - The configuration Node

getConfig

public Configuration getConfig()
Description copied from interface: Configurable
getConfig retrieves the configuration information for the Configurable object instance.
Specified by:
getConfig in interface Configurable
Following copied from interface: org.apache.xindice.util.Configurable
Returns:
The configuration Node

logMessage

public void logMessage(int type,
                       java.lang.String host,
                       java.lang.String user,
                       java.lang.String message)
Description copied from interface: LogManager
logMessage logs a message to the LogManager.
Specified by:
logMessage in interface LogManager
Following copied from interface: org.apache.xindice.server.LogManager
Parameters:
type - The message type.
host - The Host address
user - The User name
message - The message

logMessage

public void logMessage(int type,
                       java.lang.String host,
                       java.lang.String message)
Description copied from interface: LogManager
logMessage logs a message to the LogManager.
Specified by:
logMessage in interface LogManager
Following copied from interface: org.apache.xindice.server.LogManager
Parameters:
type - The message type.
host - The Host address
message - The message

logMessage

public void logMessage(int type,
                       java.lang.String message)
Description copied from interface: LogManager
logMessage logs a message to the LogManager.
Specified by:
logMessage in interface LogManager
Following copied from interface: org.apache.xindice.server.LogManager
Parameters:
type - The message type.
message - The message

runTask

public void runTask()
Description copied from interface: Task
runTask is the entry point for a Xindice interval-based Task. This method should return quickly, either by processing only parts of a larger task or by spawning a worker thread.
Specified by:
runTask in interface Task

dispose

public void dispose()
Description copied from interface: Disposable
dispose disposes of the object instance.
Specified by:
dispose in interface Disposable

Xindice API

Copyright (c) 1999-2001 The Apache Software Foundation