|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface provides a description for the web container management.
| Method Summary | |
java.util.List |
getAutoloadDirectories()
Return the list of "autoload" directories for web applications. |
java.lang.Integer |
getCurrentNumberOfWars()
|
java.util.List |
getDeployableWars()
Return the list of installed web applications ready to deploy. |
java.util.List |
getDeployedWars()
Return the list of all loaded web applications. |
java.util.List |
getInstalledWars()
Return the list of installed web applications. |
java.lang.String |
getServerName()
Gets the name of the server which is the web container |
java.lang.String |
getServerVersion()
Gets the version of the server which is the web container |
java.util.Set |
getWarNames()
This method is added temporarily. |
java.lang.String |
getWebappsDirectory()
Return the WebApps directory. |
boolean |
isWarLoaded(java.lang.String fileName)
Test if the specified filename is already deployed or not |
void |
registerWarMBean(java.lang.String fileName)
Register a WAR, this method is used for the JMX Management. |
void |
unRegisterWarMBean(java.lang.String fileName)
Unregister a WAR, this method is used for the JMX Management. |
| Method Detail |
public void registerWarMBean(java.lang.String fileName)
throws java.rmi.RemoteException,
JWebContainerServiceException
fileName - the name of the war to deploy.
java.rmi.RemoteException - if rmi call failed.
JWebContainerServiceException - if the registration of the WAR
failed.
public void unRegisterWarMBean(java.lang.String fileName)
throws java.rmi.RemoteException,
JWebContainerServiceException
fileName - the name of the war to undeploy.
java.rmi.RemoteException - if rmi call failed.
JWebContainerServiceException - if the unregistration of the WAR
failed.
public java.util.List getInstalledWars()
throws java.lang.Exception
java.lang.Exception - if the list can't be retrievedpublic java.lang.Integer getCurrentNumberOfWars()
public java.util.Set getWarNames()
public boolean isWarLoaded(java.lang.String fileName)
fileName - the name of the war file.
public java.lang.String getServerName()
public java.lang.String getServerVersion()
public java.util.List getDeployedWars()
public java.util.List getDeployableWars()
throws java.lang.Exception
java.lang.Exception - if the deployable wars can't be returnedpublic java.util.List getAutoloadDirectories()
public java.lang.String getWebappsDirectory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||