org.jboss.jsr299.tck.tests.decorators.definition.inject.delegateInitializerMethod
Class TimestampLogger

java.lang.Object
  extended by org.jboss.jsr299.tck.tests.decorators.definition.inject.delegateInitializerMethod.TimestampLogger
All Implemented Interfaces:
Logger

@Decorator
public class TimestampLogger
extends Object
implements Logger

Author:
pmuir

Field Summary
static String PREFIX
           
 
Constructor Summary
TimestampLogger()
           
 
Method Summary
static Logger getInitializerMethod()
           
 void log(String message)
           
static void reset()
           
 void setLogger(Logger logger)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

public static final String PREFIX
Constructor Detail

TimestampLogger

public TimestampLogger()
Method Detail

setLogger

@Inject
public void setLogger(@Delegate
                             Logger logger)

log

public void log(String message)
Specified by:
log in interface Logger

getInitializerMethod

public static Logger getInitializerMethod()
Returns:
the initializerMethod

reset

public static void reset()
Parameters:
message - the message to set


Copyright © 2008-2012 Seam Framework. All Rights Reserved.