org.jomc.ri.test.support
Class TestObjectManagementListener

Package class diagram package TestObjectManagementListener
java.lang.Object
  extended by org.jomc.ri.test.support.TestObjectManagementListener
All Implemented Interfaces:
Listener

@Generated(value="org.jomc.tools.SourceFileProcessor 1.2.2",
           comments="See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2")
public class TestObjectManagementListener
extends Object
implements Listener

ObjectManagementLister logging to the console.

Identifier:
JOMC :: RI :: Tests :: Test Object Management Listener
Name:
JOMC RI
Specifications:
org.jomc.spi.Listener @ 1.0
Abstract:
No
Final:
No
Stateless:
No

Version:
1.2.2
Author:
Christian Schulte 1.0

Constructor Summary
TestObjectManagementListener()
          Creates a new TestObjectManagementListener instance.
 
Method Summary
 OutputStream getOutputStream()
          Gets the output stream events are streamed to.
 PrintWriter getPrintWriter()
          Gets the print writer events are printed with,
 void onLog(Level level, String message, Throwable throwable)
           
 void setOutputStream(OutputStream value)
          Sets the output stream to stream events to.
 void setPrintWriter(PrintWriter value)
          Sets the print writer to print events with,
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestObjectManagementListener

@Generated(value="org.jomc.tools.SourceFileProcessor 1.2.2",
           comments="See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2")
public TestObjectManagementListener()
Creates a new TestObjectManagementListener instance.

Method Detail

getOutputStream

public OutputStream getOutputStream()
Gets the output stream events are streamed to.

Returns:
The output stream events are streamed to.

getPrintWriter

public PrintWriter getPrintWriter()
Gets the print writer events are printed with,

Returns:
The print writer events are printed with.

setPrintWriter

public void setPrintWriter(PrintWriter value)
Sets the print writer to print events with,

Parameters:
value - The new print writer to print events with,

setOutputStream

public void setOutputStream(OutputStream value)
Sets the output stream to stream events to.

Parameters:
value - The new output stream to stream events to.

onLog

public void onLog(Level level,
                  String message,
                  Throwable throwable)
Specified by:
onLog in interface Listener


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.