
Chapter 8. Building a case study application 251
clearConnections()
Clears all connections in the connection pool.
connectionPool.clearConnections();
destroyConnections
Destroy the connection pool.
if (connectionPool != null) {
connectionPool.destroy();
connectionPool = null;
}
Example 8-19 getConnection method: Code snippet
public static synchronized DKDatastoreICM
getConnection(String ICMServer, String ICMUser, String ICMPasswd)
throws IllegalAccessException, InstantiationException, DKException,
Exception {
// Create a String (fullClassName) and set it to the
// ICM datastore class name
String fullClassName = "com.ibm.mm.sdk.server.DKDatast ...