org.oddjob.monitor.model
Class LogContextInialiser

java.lang.Object
  extended by org.oddjob.monitor.model.LogContextInialiser
All Implemented Interfaces:
ContextInitialiser

public class LogContextInialiser
extends Object
implements ContextInitialiser

A ContextInitialiser that adds logging information to the context.

Author:
rob

Field Summary
static String CONSOLE_ARCHIVER
          The key for the console archiver.
static String LOG_ARCHIVER
          The key for the log archiver.
 
Constructor Summary
LogContextInialiser(ExplorerModel explorerModel)
          Constructor.
 
Method Summary
 void initialise(ExplorerContext context)
          Initialise the ExplorerContext.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_ARCHIVER

public static String LOG_ARCHIVER
The key for the log archiver.


CONSOLE_ARCHIVER

public static String CONSOLE_ARCHIVER
The key for the console archiver.

Constructor Detail

LogContextInialiser

public LogContextInialiser(ExplorerModel explorerModel)
Constructor.

Parameters:
explorerModel - The model. Must not be null.
Method Detail

initialise

public void initialise(ExplorerContext context)
Description copied from interface: ContextInitialiser
Initialise the ExplorerContext.

Specified by:
initialise in interface ContextInitialiser
Parameters:
context - The context. It will contain the component it is the context for.