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