public interface ConnectionProvider extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
called once when the system is shutting down, should be idempotent.
|
Connection |
getConnection() |
void |
prepare()
method must be idempotent.
|
void prepare()
Connection getConnection()
void cleanup()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.