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 ConnectionFactory
public void start() throws Exception
start
in interface ConnectionFactory
Exception
public Connection getConnection() throws SQLException
getConnection
in interface ConnectionFactory
SQLException
public void prepare(Object txId)
prepare
in interface ConnectionFactory
public void commit(Object txId)
commit
in interface ConnectionFactory
public void rollback(Object txId)
rollback
in interface ConnectionFactory
public void close(Connection con)
close
in interface ConnectionFactory
public void stop()
stop
in interface ConnectionFactory
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.