|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JOnAS WEB Container Service interface. This interface provides a description of a web container service.
Method Summary | |
void |
deployWars(javax.naming.Context ctx)
Deploy the given wars of an ear file with the specified parent classloader (ejb classloader or ear classloader). |
java.net.URLClassLoader |
getClassLoader(java.net.URL warURL,
java.lang.String earAppName,
java.lang.ClassLoader ejbClassLoader)
Return the class loader of the given warURL. |
java.lang.String |
getDefaultHost()
Return the Default host name of the web container. |
java.lang.String |
getDefaultHttpPort()
Return the Default HTTP port number of the web container (can be null if multiple HTTP connector has been set). |
java.lang.String |
getDefaultHttpsPort()
Return the Default HTTPS port number of the web container (can be null if multiple HTTPS connector has been set). |
void |
removeCache(java.lang.ClassLoader earClassLoader)
Make a cleanup of the cache of deployment descriptor. |
void |
unDeployWars(java.net.URL[] urls)
Undeploy the given wars of an ear file with the specified parent classloader (ejb classloader or ear classloader). |
Methods inherited from interface org.objectweb.jonas.service.Service |
getName, init, isStarted, setName, start, stop |
Method Detail |
public void deployWars(javax.naming.Context ctx) throws JWebContainerServiceException
ctx
- the context containing the configuration
to deploy the wars.JWebContainerServiceException
- if an error occurs during
the deployment.public void unDeployWars(java.net.URL[] urls)
urls
- the list of the urls of the wars to undeploy.public void removeCache(java.lang.ClassLoader earClassLoader)
earClassLoader
- the ClassLoader of the ear application to
remove from the cache.public java.lang.String getDefaultHost() throws JWebContainerServiceException
JWebContainerServiceException
- when it is impossible to get the Default Host.public java.lang.String getDefaultHttpPort() throws JWebContainerServiceException
JWebContainerServiceException
- when it is impossible to get the Default Http port.public java.lang.String getDefaultHttpsPort() throws JWebContainerServiceException
JWebContainerServiceException
- when it is impossible to get the Default Https port.public java.net.URLClassLoader getClassLoader(java.net.URL warURL, java.lang.String earAppName, java.lang.ClassLoader ejbClassLoader) throws JWebContainerServiceException
warURL
- the url of the war we want to get the loaderearAppName
- the name of the ear application containing
the war. May be null in non ear case.
JWebContainerServiceException
- if the process failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |