1 27 28 29 package org.objectweb.jonas_ejb.container; 30 31 32 import org.objectweb.jonas_lib.naming.ContainerNaming; 33 34 import org.objectweb.jonas_jms.api.JmsManager; 35 import org.objectweb.transaction.jta.TransactionManager; 36 37 51 public interface Container { 52 53 56 String [] listBeanNames(); 57 58 61 String getName(); 62 63 66 String getFileName(); 67 68 69 72 String getExternalFileName(); 73 74 75 78 ClassLoader getClassLoader(); 79 80 85 void setPrincipalFactory(PrincipalFactory pf); 86 87 90 PrincipalFactory getPrincipalFactory(); 91 92 96 void setContainerNaming(ContainerNaming naming); 97 98 101 ContainerNaming getContainerNaming(); 102 103 108 void syncAll(boolean passivate); 109 110 114 void setTransactionManager(TransactionManager tm); 115 116 119 TransactionManager getTransactionManager(); 120 121 125 void setJmsManager(JmsManager jms); 126 127 130 JmsManager getJmsManager(); 131 132 137 void setEarFileName(String fileName); 138 139 144 String getEarFileName(); 145 146 149 void remove(); 150 151 155 void setSecurity(boolean b); 156 157 161 void setPermissionManager(PermissionManager permissionManager); 162 163 167 PermissionManager getPermissionManager(); 168 169 173 String getContextId(); 174 175 BeanFactory getBeanFactory(String beanName); 176 } 177 | Popular Tags |