1 23 24 29 30 package com.sun.ejb.containers.util.pool; 31 32 42 public interface Pool { 43 44 47 public Object getObject(boolean canWait, Object param) 48 throws PoolException; 49 50 53 public Object getObject(long maxWaitTime, Object param) 54 throws PoolException; 55 56 64 public Object getObject(Object param) 65 throws PoolException; 66 67 72 public void returnObject(Object obj); 73 74 83 public void destroyObject(Object obj); 84 85 } 86 | Popular Tags |