1 25 26 package org.objectweb.easybeans.pool; 27 28 import org.objectweb.easybeans.api.pool.PoolException; 29 30 37 public interface PoolFactory<InstanceType, Clue> { 38 39 40 46 InstanceType create(Clue clue) throws PoolException; 47 48 54 boolean isMatching(InstanceType object, Clue clue); 55 56 57 63 boolean validate(InstanceType object, PoolEntryStatistics stats); 64 65 66 70 void remove(InstanceType object); 71 72 } 73 | Popular Tags |