1 31 32 37 package org.objectweb.jonas.resource.pool.api; 38 39 43 import java.util.Set ; 44 45 51 public interface PoolMatchFactory { 52 59 Object createResource(Object hints) throws Exception ; 60 61 71 boolean matchResource(Object pr, Object hints); 72 73 84 Object matchResource(Set res, Object hints) throws Exception ; 85 90 void releaseResource(Object pr) throws Exception ; 91 97 void validateResource(Set res) throws Exception ; 98 } 99 100 101 | Popular Tags |