1 22 package org.jboss.ejb3.test.strictpool; 23 24 import org.jboss.ejb3.AbstractPool; 25 import org.jboss.ejb3.BeanContext; 26 import org.jboss.ejb3.Container; 27 28 29 33 public class BogusPool 34 extends AbstractPool 35 { 36 public void initialize(Container container, Class contextClass, Class beanClass, int maxSize, long timeout) 37 { 38 throw new RuntimeException ("Bogus"); 39 } 40 41 public BeanContext get() 42 { 43 throw new RuntimeException ("Bogus"); 44 } 45 46 public BeanContext get(Class [] initTypes, Object [] initValues) 47 { 48 throw new RuntimeException ("Bogus"); 49 } 50 51 public void release(BeanContext ctx) 52 { 53 throw new RuntimeException ("Bogus"); 54 } 55 56 public void discard(BeanContext ctx) 57 { 58 throw new RuntimeException ("Bogus"); 59 } 60 } 61 | Popular Tags |