14 lines
325 B
Java
14 lines
325 B
Java
package org.apache.commons.pool;
|
|
|
|
public interface PoolableObjectFactory {
|
|
void activateObject(Object obj) throws Exception;
|
|
|
|
void destroyObject(Object obj) throws Exception;
|
|
|
|
Object makeObject() throws Exception;
|
|
|
|
void passivateObject(Object obj) throws Exception;
|
|
|
|
boolean validateObject(Object obj);
|
|
}
|