org.csc.phynixx.connection.loggersystem
Class Dev0Strategy<C extends IPhynixxConnection>
java.lang.Object
org.csc.phynixx.connection.PhynixxManagedConnectionListenerAdapter<C>
org.csc.phynixx.connection.loggersystem.Dev0Strategy<C>
- All Implemented Interfaces:
- IPhynixxConnectionProxyDecorator<C>, IPhynixxManagedConnectionListener<C>, IPhynixxLoggerSystemStrategy<C>
public class Dev0Strategy<C extends IPhynixxConnection>
- extends PhynixxManagedConnectionListenerAdapter<C>
- implements IPhynixxLoggerSystemStrategy<C>
written data are fired an forgotten. Their are not stored as if wriiten to dev0.
Field Summary |
static org.csc.phynixx.connection.loggersystem.Dev0Strategy.Dev0Logger |
THE_DEV0_LOGGER
|
Methods inherited from class org.csc.phynixx.connection.PhynixxManagedConnectionListenerAdapter |
connectionCommitted, connectionCommitting, connectionErrorOccurred, connectionFreed, connectionPrepared, connectionPreparing, connectionRecovered, connectionRecovering, connectionReleased, connectionRequiresTransactionExecuted, connectionReset, connectionRolledback, connectionRollingBack |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.csc.phynixx.connection.IPhynixxManagedConnectionListener |
connectionCommitted, connectionCommitting, connectionErrorOccurred, connectionFreed, connectionPrepared, connectionPreparing, connectionRecovered, connectionRecovering, connectionReleased, connectionRequiresTransactionExecuted, connectionReset, connectionRolledback, connectionRollingBack |
THE_DEV0_LOGGER
public static final org.csc.phynixx.connection.loggersystem.Dev0Strategy.Dev0Logger THE_DEV0_LOGGER
Dev0Strategy
public Dev0Strategy()
close
public void close()
- Description copied from interface:
IPhynixxLoggerSystemStrategy
- closes the strategy including all resources
- Specified by:
close
in interface IPhynixxLoggerSystemStrategy<C extends IPhynixxConnection>
decorate
public IPhynixxManagedConnection<C> decorate(IPhynixxManagedConnection<C> managedConnection)
- Description copied from interface:
IPhynixxConnectionProxyDecorator
- installs this strategy to the given connection
- Specified by:
decorate
in interface IPhynixxConnectionProxyDecorator<C extends IPhynixxConnection>
- Returns:
- decorated Proxy
connectionRequiresTransaction
public void connectionRequiresTransaction(IManagedConnectionEvent<C> event)
- Description copied from class:
PhynixxManagedConnectionListenerAdapter
- NOOP
- Specified by:
connectionRequiresTransaction
in interface IPhynixxManagedConnectionListener<C extends IPhynixxConnection>
- Overrides:
connectionRequiresTransaction
in class PhynixxManagedConnectionListenerAdapter<C extends IPhynixxConnection>
- Parameters:
event
- current connection
readIncompleteTransactions
public List<IXADataRecorder> readIncompleteTransactions()
- Description copied from interface:
IPhynixxLoggerSystemStrategy
- 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
- Specified by:
readIncompleteTransactions
in interface IPhynixxLoggerSystemStrategy<C extends IPhynixxConnection>
- Returns:
- list of Objects of type IMessageLogger
Copyright © 2015. All rights reserved.