palio.connectors
Class ConnectorLogConfiguration
java.lang.Object
palio.connectors.ConnectorLogConfiguration
public class ConnectorLogConfiguration
- extends java.lang.Object
Configuration of logging for connectors. There are shared configuration for each connector but user may define own configuration to be used only for particular thread or transaction. Shared configuration is directly assigned to connectors. Individual assignments are made by ThreadLocal
where null value means default configuration. Objects of this class are immutable.
- Author:
- Szymon Kuklewicz
Constructor Summary |
ConnectorLogConfiguration(java.lang.String nameForLog,
java.lang.String fileLog,
java.lang.String fileErrorLog,
boolean traceRead,
boolean traceWrite,
boolean traceExecute)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectorLogConfiguration
public ConnectorLogConfiguration(java.lang.String nameForLog,
java.lang.String fileLog,
java.lang.String fileErrorLog,
boolean traceRead,
boolean traceWrite,
boolean traceExecute)
getNameForLog
public java.lang.String getNameForLog()
getFileLog
public java.lang.String getFileLog()
getFileErrorLog
public java.lang.String getFileErrorLog()
isTraceRead
public boolean isTraceRead()
isTraceWrite
public boolean isTraceWrite()
isTraceExecute
public boolean isTraceExecute()
createException
public palio.PalioException createException(java.lang.Throwable ex)