1 25 26 package org.objectweb.jonas_ejb.container; 27 28 import java.util.Hashtable ; 29 30 import javax.naming.InitialContext ; 31 32 import org.objectweb.jonas_ejb.deployment.api.BeanDesc; 33 import org.objectweb.transaction.jta.TransactionManager; 34 35 36 41 public interface BeanFactory { 42 43 47 String getEJBName(); 48 49 53 BeanDesc getDeploymentDescriptor(); 54 55 59 int getPoolSize(); 60 61 64 void stop(); 65 66 69 void sync(); 70 71 74 void reduceCache(); 75 76 80 JHome getHome(); 81 82 86 JLocalHome getLocalHome(); 87 88 92 TransactionManager getTransactionManager(); 93 94 98 JContainer getContainer(); 99 100 104 Hashtable getEnv(); 105 106 110 InitialContext getInitialContext(); 111 112 115 void initInstancePool(); 116 } 117 | Popular Tags |