public class ManagedConnectionFactory extends Object implements ConnectionFactory
| Constructor and Description |
|---|
ManagedConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(Connection con) |
void |
commit(Object txId) |
Connection |
getConnection() |
void |
prepare(Object txId) |
void |
rollback(Object txId) |
void |
setConfig(AdjListJDBCCacheLoaderConfig config) |
void |
start() |
void |
stop() |
public void setConfig(AdjListJDBCCacheLoaderConfig config)
setConfig in interface ConnectionFactorypublic void start()
throws Exception
start in interface ConnectionFactoryExceptionpublic Connection getConnection() throws SQLException
getConnection in interface ConnectionFactorySQLExceptionpublic void prepare(Object txId)
prepare in interface ConnectionFactorypublic void commit(Object txId)
commit in interface ConnectionFactorypublic void rollback(Object txId)
rollback in interface ConnectionFactorypublic void close(Connection con)
close in interface ConnectionFactorypublic void stop()
stop in interface ConnectionFactoryCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.