Deploy the given wars of an ear file with the specified parent
classloader (ejb classloader or ear classloader). (This method
is only used for the ear applications, not for the
web applications).
Parameters: ctx - the context containing the configurationto deploy the wars. This context contains the following parameters : - urls the list of the urls of the wars to deploy. - earURL the URL of the ear application file. - parentClassLoader the parent classLoader of the wars. - earClassLoader the ear classLoader of the j2ee app. - altDDs the optional URI of deployment descriptor. - contextRoots the optional context root of the wars.
Return the class loader of the given warURL. Unpack the associated war
and build the loader if it's not in the cache.
Parameters: warURL - the url of the war we want to get the loader Parameters: earAppName - the name of the ear application containingthe war. May be null in non ear case. Parameters: parentLoader - the ejb class loader of the ear.May be null in non ear case. the class loader of the given warURL. throws: JWebContainerServiceException - if the process failed.
Return the Default host name of the web container.
the Default host name of the web container. throws: JWebContainerServiceException - when it is impossible to get the Default Host.
Return the Default HTTP port number of the web container (can
be null if multiple HTTP connector has been set).
the Default HTTP port number of the web container. throws: JWebContainerServiceException - when it is impossible to get the Default Http port.
Return the Default HTTPS port number of the web container (can
be null if multiple HTTPS connector has been set).
the Default HTTPS port number of the web container. throws: JWebContainerServiceException - when it is impossible to get the Default Https port.
Return the list of installed web applications ready to deploy.
The list of deployable web applications throws: Exception - if the list can't be retrieved
Return the list of installed web applications.
The WAR files or the directories with expanded web application are searched
in JONAS_BASE/webapps and all webapps directories 'autoload'.
The list of WAR files or the directories with expanded web application found throws: Exception - if the list can't be retrieved
Get the war identified by its URL (.war).
Parameters: url - the URL of the war to get. the war indentified by its URL, or null if the war is not found.
This method is added temporarily. It will disapear when Wars will have their associated MBeans
(when Wars will become manageable)
the names of the wars currently deployed in the JOnAS server
Register a WAR by delegating the operation to the registerWar()
method. This is used for JMX management.
Parameters: fileName - the name of the war to deploy. throws: RemoteException - if rmi call failed. throws: JWebContainerServiceException - if the registration failed.
Make a cleanup of the cache of deployment descriptor. This method must
be invoked after the ear deployment by the EAR service.
Parameters: earClassLoader - the ClassLoader of the ear application toremove from the cache.
Undeploy the given wars of an ear file with the specified parent
classloader (ejb classloader or ear classloader). (This method
is only used for the ear applications, not for the
war applications).
Parameters: urls - the list of the urls of the wars to undeploy.
Unregister a WAR by delegating the operation to the unRegisterWar()
method. This is used for JMX management.
Parameters: fileName - the name of the war to undeploy. throws: RemoteException - if rmi call failed. throws: JWebContainerServiceException - if the unregistration failed.