Class TraceEngine
- java.lang.Object
-
- com.aquima.interactions.trace.impl.TraceEngine
-
- All Implemented Interfaces:
ITraceEngine
public class TraceEngine extends Object implements ITraceEngine
- Author:
- A. Pragt, T. Middeldorp
-
-
Constructor Summary
Constructors Constructor Description TraceEngine(ITraceDao dao)
Default constructor which sets aITraceDao
to be used by the engine.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ITraceEntry[]
search(TraceSearchCriteria criteria)
Searches for traces.void
trace(ITraceMessage message)
Inserts a trace message.
-
-
-
Method Detail
-
trace
public void trace(ITraceMessage message) throws TraceNotifyException
Description copied from interface:ITraceEngine
Inserts a trace message.- Specified by:
trace
in interfaceITraceEngine
- Parameters:
message
- The message data, not null.- Throws:
TraceNotifyException
- in case of an unhandled exception.
-
search
public ITraceEntry[] search(TraceSearchCriteria criteria) throws TraceSearchException
Description copied from interface:ITraceEngine
Searches for traces.- Specified by:
search
in interfaceITraceEngine
- Parameters:
criteria
- The search criteria, not null.- Returns:
- List of found trace entries, not null.
- Throws:
TraceSearchException
- In case of an unhandled exception.
-
-