org.objectweb.jonas.web.AbsJWebContainerServiceImplMBean Interface Reference

Inherited by org.objectweb.jonas.web.AbsJWebContainerServiceImpl, and org.objectweb.jonas.web.wrapper.CatalinaJWebContainerServiceWrapper.

Inheritance diagram for org.objectweb.jonas.web.AbsJWebContainerServiceImplMBean:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void registerWarMBean (String fileName) throws RemoteException, JWebContainerServiceException

Package Functions

void unRegisterWarMBean (String fileName) throws RemoteException, JWebContainerServiceException
List getInstalledWars () throws Exception
Integer getCurrentNumberOfWars ()
Set getWarNames ()
boolean isWarLoaded (String fileName)
String getServerName ()
String getServerVersion ()
List getDeployedWars ()
List getDeployableWars () throws Exception
List getAutoloadDirectories ()
String getWebappsDirectory ()

Detailed Description

This interface provides a description for the web container management.
Author:
Ludovic Bert

Florent Benoit
Contributor Michel-Ange Anton

Definition at line 38 of file AbsJWebContainerServiceImplMBean.java.


Member Function Documentation

List org.objectweb.jonas.web.AbsJWebContainerServiceImplMBean.getAutoloadDirectories  )  [package]
 

Return the list of "autoload" directories for web applications.

Returns:
The list of all "autoload" directories

Implemented in org.objectweb.jonas.web.AbsJWebContainerServiceImpl, and org.objectweb.jonas.web.wrapper.CatalinaJWebContainerServiceWrapper.

Integer org.objectweb.jonas.web.AbsJWebContainerServiceImplMBean.getCurrentNumberOfWars  )  [package]
 

Returns:
current number of wars deployed in the JOnAS server

Implemented in org.objectweb.jonas.web.AbsJWebContainerServiceImpl, and org.objectweb.jonas.web.wrapper.CatalinaJWebContainerServiceWrapper.

List org.objectweb.jonas.web.AbsJWebContainerServiceImplMBean.getDeployableWars  )  throws Exception [package]
 

Return the list of installed web applications ready to deploy.

Returns:
The list of deployable web applications
Exceptions:
Exception if the deployable wars can't be returned

Implemented in org.objectweb.jonas.web.AbsJWebContainerServiceImpl, and org.objectweb.jonas.web.wrapper.CatalinaJWebContainerServiceWrapper.

List org.objectweb.jonas.web.AbsJWebContainerServiceImplMBean.getDeployedWars  )  [package]
 

Return the list of all loaded web applications.

Returns:
The list of deployed web applications

Implemented in org.objectweb.jonas.web.AbsJWebContainerServiceImpl, and org.objectweb.jonas.web.wrapper.CatalinaJWebContainerServiceWrapper.

List org.objectweb.jonas.web.AbsJWebContainerServiceImplMBean.getInstalledWars  )  throws Exception [package]
 

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'.

Returns:
The list of WAR files or the directories with expanded web application found
Exceptions:
Exception if the list can't be retrieved

Implemented in org.objectweb.jonas.web.AbsJWebContainerServiceImpl, and org.objectweb.jonas.web.wrapper.CatalinaJWebContainerServiceWrapper.

String org.objectweb.jonas.web.AbsJWebContainerServiceImplMBean.getServerName  )  [package]
 

Gets the name of the server which is the web container

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

Implemented in org.objectweb.jonas.web.AbsJWebContainerServiceImpl, and org.objectweb.jonas.web.wrapper.CatalinaJWebContainerServiceWrapper.

String org.objectweb.jonas.web.AbsJWebContainerServiceImplMBean.getServerVersion  )  [package]
 

Gets the version of the server which is the web container

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

Implemented in org.objectweb.jonas.web.AbsJWebContainerServiceImpl, and org.objectweb.jonas.web.wrapper.CatalinaJWebContainerServiceWrapper.

Set org.objectweb.jonas.web.AbsJWebContainerServiceImplMBean.getWarNames  )  [package]
 

This method is added temporarily. It will disapear when Wars will have their associated MBeans (when Wars will become manageable)

Returns:
the names of the wars currently deployed in the JOnAS server

Implemented in org.objectweb.jonas.web.AbsJWebContainerServiceImpl, and org.objectweb.jonas.web.wrapper.CatalinaJWebContainerServiceWrapper.

String org.objectweb.jonas.web.AbsJWebContainerServiceImplMBean.getWebappsDirectory  )  [package]
 

Return the WebApps directory.

Returns:
The WebApps directory

Implemented in org.objectweb.jonas.web.AbsJWebContainerServiceImpl, and org.objectweb.jonas.web.wrapper.CatalinaJWebContainerServiceWrapper.

boolean org.objectweb.jonas.web.AbsJWebContainerServiceImplMBean.isWarLoaded String  fileName  )  [package]
 

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.

Implemented in org.objectweb.jonas.web.AbsJWebContainerServiceImpl, and org.objectweb.jonas.web.wrapper.CatalinaJWebContainerServiceWrapper.

void org.objectweb.jonas.web.AbsJWebContainerServiceImplMBean.registerWarMBean String  fileName  )  throws RemoteException, JWebContainerServiceException
 

Register a WAR, this method is used for the JMX Management.

Parameters:
fileName the name of the war to deploy.
Exceptions:
RemoteException if rmi call failed.
JWebContainerServiceException if the registration of the WAR failed.

Implemented in org.objectweb.jonas.web.AbsJWebContainerServiceImpl, org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl, and org.objectweb.jonas.web.wrapper.CatalinaJWebContainerServiceWrapper.

void org.objectweb.jonas.web.AbsJWebContainerServiceImplMBean.unRegisterWarMBean String  fileName  )  throws RemoteException, JWebContainerServiceException [package]
 

Unregister a WAR, this method is used for the JMX Management.

Parameters:
fileName the name of the war to undeploy.
Exceptions:
RemoteException if rmi call failed.
JWebContainerServiceException if the unregistration of the WAR failed.

Implemented in org.objectweb.jonas.web.AbsJWebContainerServiceImpl, org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl, and org.objectweb.jonas.web.wrapper.CatalinaJWebContainerServiceWrapper.


The documentation for this interface was generated from the following file:
Generated on Tue Feb 15 15:08:12 2005 for JOnAS by  doxygen 1.3.9.1