org.ow2.jonas.web.base
Interface WarMBean

All Known Implementing Classes:
War

public interface WarMBean

This interface defines the MBean methods which can be done on a war file.

Author:
Florent Benoit

Method Summary
 String getContextRoot()
          Get the context root of this war.
 URL getEarURL()
          Get the URL of the ear containing this war.
 String getHostName()
          Get the name of the host on which this war is deployed.
 boolean getJava2DelegationModel()
          Context classloader must follow the java2 delegation model ?
 String getJOnASXmlContent()
          Return the jonas-specific xml file.
 String[] getServletsName()
          Return a list of all servlets available.
 URL getWarURL()
          Get the URL of the war file.
 String getXmlContent()
          Return the standard xml file.
 boolean isInEarCase()
          Return true if only if this war is in an ear file.
 

Method Detail

isInEarCase

boolean isInEarCase()
Return true if only if this war is in an ear file.

Returns:
true if only if this war is in an ear file.

getWarURL

URL getWarURL()
Get the URL of the war file.

Returns:
the URL of the war file.

getEarURL

URL getEarURL()
Get the URL of the ear containing this war.

Returns:
the URL of the war file.

getHostName

String getHostName()
Get the name of the host on which this war is deployed.

Returns:
the name of the host on which this war is deployed.

getContextRoot

String getContextRoot()
Get the context root of this war.

Returns:
the context root of this war.

getJava2DelegationModel

boolean getJava2DelegationModel()
Context classloader must follow the java2 delegation model ?

Returns:
true if the context's classloader must follow the java 2 delegation model.

getXmlContent

String getXmlContent()
Return the standard xml file.

Returns:
the standard xml file

getJOnASXmlContent

String getJOnASXmlContent()
Return the jonas-specific xml file.

Returns:
the jonas-specific xml file

getServletsName

String[] getServletsName()
Return a list of all servlets available.

Returns:
a list of all servlets available


Copyright © 2010 OW2 Consortium. All Rights Reserved.