C - public class PhynixxManagedConnectionFactory<C extends IPhynixxConnection> extends PhynixxManagedConnectionListenerAdapter<C> implements IPhynixxManagedConnectionFactory<C>, IPhynixxManagedConnectionListener<C>
IPhynixxConnectionFactory. The proxy adds serveral capabilities to the (core-)connection
1.)
| Constructor and Description |
|---|
PhynixxManagedConnectionFactory() |
PhynixxManagedConnectionFactory(IPhynixxConnectionFactory<C> connectionFactory) |
connectionCommitted, connectionCommitting, connectionErrorOccurred, connectionPrepared, connectionPreparing, connectionRecovered, connectionRecovering, connectionRequiresTransaction, connectionRequiresTransactionExecuted, connectionReset, connectionRolledback, connectionRollingBackclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnectionCommitted, connectionCommitting, connectionErrorOccurred, connectionPrepared, connectionPreparing, connectionRecovered, connectionRecovering, connectionRequiresTransaction, connectionRequiresTransactionExecuted, connectionReset, connectionRolledback, connectionRollingBackpublic PhynixxManagedConnectionFactory()
public PhynixxManagedConnectionFactory(IPhynixxConnectionFactory<C> connectionFactory)
public boolean isAutocommitAware()
isAutocommitAware in interface IPhynixxManagedConnectionFactory<C extends IPhynixxConnection>public void setAutocommitAware(boolean autocommitAware)
IPhynixxManagedConnectionFactorysetAutocommitAware in interface IPhynixxManagedConnectionFactory<C extends IPhynixxConnection>public boolean isSynchronizeConnection()
isSynchronizeConnection in interface IPhynixxManagedConnectionFactory<C extends IPhynixxConnection>public void setSynchronizeConnection(boolean synchronizeConnection)
setSynchronizeConnection in interface IPhynixxManagedConnectionFactory<C extends IPhynixxConnection>public void setConnectionFactory(IPhynixxConnectionFactory<C> connectionFactory)
public IPhynixxConnectionFactory<C> getConnectionFactory()
public List<IPhynixxConnectionProxyDecorator<C>> getManagedConnectionDecorators()
public void addManagedConnectionDecorator(IPhynixxConnectionProxyDecorator<C> connectionProxyDecorator)
public IPhynixxLoggerSystemStrategy<C> getLoggerSystemStrategy()
public void setLoggerSystemStrategy(IPhynixxLoggerSystemStrategy<C> loggerSystemStrategy)
public C getConnection()
IPhynixxConnectionFactorygetConnection in interface IPhynixxConnectionFactory<C extends IPhynixxConnection>getConnection in interface IPhynixxManagedConnectionFactory<C extends IPhynixxConnection>public IPhynixxManagedConnection<C> getManagedConnection()
IPhynixxManagedConnectionFactorygetManagedConnection in interface IPhynixxManagedConnectionFactory<C extends IPhynixxConnection>protected IPhynixxManagedConnection<C> instantiateConnection()
public Class<C> getConnectionInterface()
getConnectionInterface in interface IPhynixxConnectionFactory<C extends IPhynixxConnection>public void close()
IPhynixxManagedConnectionFactoryclose in interface IPhynixxConnectionFactory<C extends IPhynixxConnection>close in interface IPhynixxManagedConnectionFactory<C extends IPhynixxConnection>public void connectionReleased(IManagedConnectionEvent<C> event)
connectionReleased in interface IPhynixxManagedConnectionListener<C extends IPhynixxConnection>connectionReleased in class PhynixxManagedConnectionListenerAdapter<C extends IPhynixxConnection>event - current connectionpublic void connectionFreed(IManagedConnectionEvent<C> event)
PhynixxManagedConnectionListenerAdapterconnectionFreed in interface IPhynixxManagedConnectionListener<C extends IPhynixxConnection>connectionFreed in class PhynixxManagedConnectionListenerAdapter<C extends IPhynixxConnection>Copyright © 2017. All rights reserved.