1 16 17 package org.apache.commons.pool; 18 19 62 public interface KeyedPoolableObjectFactory { 63 68 Object makeObject(Object key) throws Exception ; 69 70 75 void destroyObject(Object key, Object obj) throws Exception ; 76 77 85 boolean validateObject(Object key, Object obj); 86 87 92 void activateObject(Object key, Object obj) throws Exception ; 93 94 99 void passivateObject(Object key, Object obj) throws Exception ; 100 } 101 | Popular Tags |