1 22 package org.jboss.ejb.plugins; 23 24 import org.jboss.ejb.EnterpriseContext; 25 import org.jboss.ejb.StatelessSessionEnterpriseContext; 26 27 35 public class StatelessSessionInstancePool 36 extends AbstractInstancePool 37 { 38 protected void createService() throws Exception  39 { 40 super.createService(); 41 42 this.reclaim = true; 44 } 45 46 protected EnterpriseContext create(Object instance) 47 throws Exception  48 { 49 return new StatelessSessionEnterpriseContext(instance, getContainer()); 50 } 51 } 52 53 | Popular Tags |