1 25 26 package org.objectweb.jonas.container; 27 28 import java.net.URL ; 29 30 import javax.naming.Context ; 31 32 import org.objectweb.jonas_ejb.container.Container; 33 import org.objectweb.jonas_lib.JWorkManager; 34 35 import org.objectweb.jonas.service.Service; 36 import org.objectweb.jonas.service.ServiceException; 37 38 41 public interface EJBService extends Service { 42 43 49 String createContainer(Context ctx) throws Exception ; 50 51 String createContainer(String fileName) throws Exception ; 52 53 59 Boolean isJarDeployed(String fileName); 60 61 67 boolean isJarDeployedByWorkName(String workFileName); 68 69 72 Container getContainer(String fileName); 73 74 78 void removeContainer(Container cont); 79 80 void removeContainer(String fileName) throws Exception ; 81 82 86 Container[] listContainers(); 87 88 92 void syncAllEntities(boolean passivate); 93 94 109 void deployJars(Context ctx)throws ServiceException; 110 111 117 void unDeployJars(URL [] urls); 118 119 126 void removeCache(ClassLoader earClassLoader); 127 128 132 String getEjbjarsDirectory(); 133 134 135 140 void checkGenIC(String fileName); 141 142 145 JWorkManager getWorkManager(); 146 } 147 148 | Popular Tags |