1 25 26 package org.objectweb.jonas.web; 27 28 import java.net.URL ; 29 import java.net.URLClassLoader ; 30 import java.rmi.RemoteException ; 31 32 import javax.naming.Context ; 33 34 import org.objectweb.jonas.service.Service; 35 36 37 43 public interface JWebContainerService extends Service { 44 45 62 void deployWars(Context ctx) throws JWebContainerServiceException; 63 64 71 void unDeployWars(URL [] urls); 72 73 80 void removeCache(ClassLoader earClassLoader); 81 82 87 String getDefaultHost() throws JWebContainerServiceException; 88 89 95 String getDefaultHttpPort() throws JWebContainerServiceException; 96 97 103 String getDefaultHttpsPort() throws JWebContainerServiceException; 104 105 116 URLClassLoader getClassLoader(URL warURL, String earAppName, ClassLoader ejbClassLoader) throws JWebContainerServiceException; 117 118 122 ClassLoader getContextLinkedClassLoader(URL warURL); 123 124 129 War getWar(URL url); 130 131 135 String getWebappsDirectory(); 136 137 144 void registerWarMBean(String fileName) throws RemoteException , JWebContainerServiceException; 145 146 147 152 boolean isWarLoaded(String fileName); 153 154 161 void unRegisterWarMBean(String fileName) throws RemoteException , JWebContainerServiceException; 162 163 } 164 | Popular Tags |