org.apache.felix.ipojo.manipulator.reporter
Class SystemReporter

java.lang.Object
  extended by org.apache.felix.ipojo.manipulator.reporter.EmptyReporter
      extended by org.apache.felix.ipojo.manipulator.reporter.SystemReporter
All Implemented Interfaces:
Reporter

public class SystemReporter
extends EmptyReporter

A SystemReporter reports feedback from within the manipulation process.

Author:
Felix Project Team

Constructor Summary
SystemReporter()
           
 
Method Summary
 void error(java.lang.String message, java.lang.Object... args)
          Add a message in the error list.
 void info(java.lang.String message, java.lang.Object... args)
          Add an informative message It accepts a Throwable as last argument.
 void setEnableTrace(boolean enableTrace)
           
 void trace(java.lang.String message, java.lang.Object... args)
          Add aa trace message It accepts a Throwable as last argument.
 void warn(java.lang.String message, java.lang.Object... args)
          Add a message in the warning list.
 
Methods inherited from class org.apache.felix.ipojo.manipulator.reporter.EmptyReporter
getErrors, getMessageArguments, getThrowable, getWarnings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemReporter

public SystemReporter()
Method Detail

setEnableTrace

public void setEnableTrace(boolean enableTrace)

trace

public void trace(java.lang.String message,
                  java.lang.Object... args)
Description copied from interface: Reporter
Add aa trace message It accepts a Throwable as last argument.

Specified by:
trace in interface Reporter
Overrides:
trace in class EmptyReporter
Parameters:
message - trace message.
args - message's argument

info

public void info(java.lang.String message,
                 java.lang.Object... args)
Description copied from interface: Reporter
Add an informative message It accepts a Throwable as last argument.

Specified by:
info in interface Reporter
Overrides:
info in class EmptyReporter
Parameters:
message - info message.
args - message's argument

warn

public void warn(java.lang.String message,
                 java.lang.Object... args)
Description copied from interface: Reporter
Add a message in the warning list. It accepts a Throwable as last argument.

Specified by:
warn in interface Reporter
Overrides:
warn in class EmptyReporter
Parameters:
message - warning message.
args - message's argument

error

public void error(java.lang.String message,
                  java.lang.Object... args)
Description copied from interface: Reporter
Add a message in the error list. It accepts a Throwable as last argument.

Specified by:
error in interface Reporter
Overrides:
error in class EmptyReporter
Parameters:
message - error message.
args - message's argument


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.