Package org.oddjob.beanbus.destinations
Class BeanDiagnostics<T>
java.lang.Object
org.oddjob.beanbus.AbstractFilter<T,T>
org.oddjob.beanbus.destinations.BeanDiagnostics<T>
- Type Parameters:
T- The type of the beans to be analysed.
- All Implemented Interfaces:
Closeable,AutoCloseable,Runnable,Consumer<T>,ArooaSessionAware,BusFilter<T,,T> Outbound<T>
public class BeanDiagnostics<T>
extends AbstractFilter<T,T>
implements ArooaSessionAware, Runnable, Closeable
A
BusFilter that analyses beans.- Author:
- rob
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected TintgetCount()getTypes()voidprintTypeInfo(ArooaClass type, PrintStream out) voidrun()voidsetArooaSession(ArooaSession session) Accept the current Arooa Session.voidsetOutput(OutputStream output) Methods inherited from class org.oddjob.beanbus.AbstractFilter
accept, getName, getTo, setName, setTo, toString
-
Constructor Details
-
BeanDiagnostics
public BeanDiagnostics()
-
-
Method Details
-
setArooaSession
Description copied from interface:ArooaSessionAwareAccept the current Arooa Session.- Specified by:
setArooaSessionin interfaceArooaSessionAware- Parameters:
session- The Arooa Session. Never null.
-
run
public void run() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
filter
- Specified by:
filterin classAbstractFilter<T,T>
-
setOutput
-
getOutput
-
getTypes
-
getCount
public int getCount() -
printTypeInfo
-