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

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

@Decorator
public class TimestampLogger
extends Object
implements Logger

Author:
pmuir

Field Summary
static String PREFIX
           
 
Constructor Summary
TimestampLogger(Logger logger)
           
 
Method Summary
static Logger getConstructor()
           
 void log(String message)
           
static void reset()
           
 
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

@Inject
public TimestampLogger(@Delegate
                              Logger logger)
Method Detail

log

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

getConstructor

public static Logger getConstructor()
Returns:
the constructor

reset

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


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