Interface TraceManager
- All Known Implementing Classes:
DefaultTraceManager
public interface TraceManager
A mean to make EBICS transfer logged by saving
requests and responses from the EBICS bank server.
This can be done using the
trace(EbicsRootElement)-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears the traces created for a given ebics sessionvoidremove(EbicsRootElement element) Removes anEbicsRootElementfrom trace directory.voidsetTraceDirectory(File traceDir) Sets the trace directoryvoidsetTraceEnabled(boolean enabled) Enables or disables the trace featurevoidtrace(EbicsRootElement element) Saves theEbicsRootElementin the traces directory.
-
Method Details
-
trace
Saves theEbicsRootElementin the traces directory. This directory may be specified by theEbicsConfigurationclient configuration.- Parameters:
element- the element to trace- Throws:
EbicsException- cannot trace the ebics element- See Also:
-
remove
Removes anEbicsRootElementfrom trace directory.- Parameters:
element- the element to ve removed.
-
clear
void clear()Clears the traces created for a given ebics session -
setTraceDirectory
Sets the trace directory -
setTraceEnabled
void setTraceEnabled(boolean enabled) Enables or disables the trace feature- Parameters:
enabled- is trace enabled?
-