uk.ac.roe.antigen.builder
Class MessageProcessor.VelocityLoggerWrapper

java.lang.Object
  extended byuk.ac.roe.antigen.builder.MessageProcessor.VelocityLoggerWrapper
All Implemented Interfaces:
org.apache.velocity.runtime.log.LogSystem
Enclosing class:
MessageProcessor

public static class MessageProcessor.VelocityLoggerWrapper
extends java.lang.Object
implements org.apache.velocity.runtime.log.LogSystem

This class delegates any Velocity logs to the JDK logging system

Author:
jdt

Field Summary
 
Fields inherited from interface org.apache.velocity.runtime.log.LogSystem
DEBUG_ID, DEBUG_ON, ERROR_ID, INFO_ID, WARN_ID
 
Constructor Summary
MessageProcessor.VelocityLoggerWrapper()
           
 
Method Summary
 void init(org.apache.velocity.runtime.RuntimeServices arg0)
           
 void logVelocityMessage(int arg0, java.lang.String arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageProcessor.VelocityLoggerWrapper

public MessageProcessor.VelocityLoggerWrapper()
Method Detail

init

public void init(org.apache.velocity.runtime.RuntimeServices arg0)
          throws java.lang.Exception
Specified by:
init in interface org.apache.velocity.runtime.log.LogSystem
Throws:
java.lang.Exception

logVelocityMessage

public void logVelocityMessage(int arg0,
                               java.lang.String arg1)
Specified by:
logVelocityMessage in interface org.apache.velocity.runtime.log.LogSystem


Copyright © 2005 Institute for Astronomy, Royal Observatory of Edinburgh. All Rights Reserved.