00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 package org.objectweb.jonas.container;
00030
00031 import javax.naming.Context;
00032
00033 import java.io.File;
00034 import java.net.URL;
00035 import org.objectweb.jonas.service.Service;
00036 import org.objectweb.jonas.service.ServiceException;
00037 import org.objectweb.jonas_ejb.container.Container;
00038
00042 public interface EJBService extends Service {
00043
00050 public String createContainer(Context ctx) throws Exception;
00051
00052 public String createContainer(String fileName) throws Exception;
00053
00060 public Boolean isJarDeployed(String fileName);
00061
00068 boolean isJarDeployedByWorkName(String workFileName);
00069
00073 public Container getContainer(String fileName);
00074
00079 public void removeContainer(Container cont);
00080
00081 public void removeContainer(String fileName) throws Exception;
00082
00087 public Container[] listContainers();
00088
00093 public void syncAllEntities(boolean passivate);
00094
00110 public void deployJars(Context ctx)throws ServiceException;
00111
00118 public void unDeployJars(URL[] urls);
00119
00127 public void removeCache(ClassLoader earClassLoader);
00128
00133 public String getEjbjarsDirectory();
00134
00135 }
00136