org.jboss.jsr299.tck.tests.decorators.invocation
Class MockLogger

java.lang.Object
  extended by org.jboss.jsr299.tck.tests.decorators.invocation.MockLogger
All Implemented Interfaces:
Logger

public class MockLogger
extends Object
implements Logger

Author:
pmuir

Constructor Summary
MockLogger()
           
 
Method Summary
static String getMessage()
           
 void initialize()
           
static boolean isInitializeCalled()
           
 void log(String string)
           
static void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockLogger

public MockLogger()
Method Detail

initialize

@Inject
public void initialize()
Specified by:
initialize in interface Logger

log

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

getMessage

public static String getMessage()
Returns:
the log

reset

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

isInitializeCalled

public static boolean isInitializeCalled()
Returns:
the initializeCalled


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