org.ow2.jonas.web.base
Interface BaseWebContainerServiceMBean

All Known Implementing Classes:
BaseWebContainerService, Jetty6Service, Tomcat6Service

public interface BaseWebContainerServiceMBean

This interface provides a description for the web container management.

Author:
Ludovic Bert, Florent Benoit, Michel-Ange Anton (Contributor)

Method Summary
 Integer getCurrentNumberOfWars()
           
 List<String> getDeployedWars()
          Return the list of all loaded web applications.
 String getServerName()
          Gets the name of the server which is the web container.
 String getServerVersion()
          Gets the version of the server which is the web container.
 boolean isWarLoaded(String fileName)
          Test if the specified filename is already deployed or not.
 

Method Detail

getCurrentNumberOfWars

Integer getCurrentNumberOfWars()
Returns:
current number of wars deployed in the JOnAS server

getDeployedWars

List<String> getDeployedWars()
Return the list of all loaded web applications.

Returns:
The list of deployed web applications

isWarLoaded

boolean isWarLoaded(String fileName)
Test if the specified filename is already deployed or not.

Parameters:
fileName - the name of the war file.
Returns:
true if the war is deployed, else false.

getServerName

String getServerName()
Gets the name of the server which is the web container.

Returns:
the name of the server which is the web container

getServerVersion

String getServerVersion()
Gets the version of the server which is the web container.

Returns:
the version of the server which is the web container


Copyright © 2010 OW2 Consortium. All Rights Reserved.