org.csc.phynixx.connection.loggersystem
Interface IPhynixxLoggerSystemStrategy<C extends IPhynixxConnection>
- All Superinterfaces:
- IPhynixxConnectionProxyDecorator<C>, IPhynixxManagedConnectionListener<C>
- All Known Implementing Classes:
- Dev0Strategy, LoggerPerTransactionStrategy
public interface IPhynixxLoggerSystemStrategy<C extends IPhynixxConnection>
- extends IPhynixxManagedConnectionListener<C>, IPhynixxConnectionProxyDecorator<C>
Each connection may have a
this IF represents a strategy assigning loggers to connections.
Different strategies could be :
no logger,
one logger per transaction,
one logger per connection,
one logger per System
Method Summary |
void |
close()
closes the strategy including all resources |
List<IXADataRecorder> |
readIncompleteTransactions()
recovers all Loggers of the system and returns a list of all reopen message sequences
Each message sequence represents an incomplete transaction. |
Methods inherited from interface org.csc.phynixx.connection.IPhynixxManagedConnectionListener |
connectionCommitted, connectionCommitting, connectionErrorOccurred, connectionFreed, connectionPrepared, connectionPreparing, connectionRecovered, connectionRecovering, connectionReleased, connectionRequiresTransaction, connectionRequiresTransactionExecuted, connectionReset, connectionRolledback, connectionRollingBack |
close
void close()
- closes the strategy including all resources
readIncompleteTransactions
List<IXADataRecorder> readIncompleteTransactions()
- recovers all Loggers of the system and returns a list of all reopen message sequences
Each message sequence represents an incomplete transaction.
To be able to recover the connection the message sequence is converted to a IMessageLogger
- Returns:
- list of Objects of type IMessageLogger
Copyright © 2015. All rights reserved.