Method Summary |
|
public boolean | accepts(DeploymentInfo sdi) |
public void | addDeployedApp(URL warURL, WebApplication webApp) |
public void | create(DeploymentInfo di) Create a WebModule service, register it under the name
"jboss.web.deployment:war="+di.shortName
and invoke the ServiceController.create(jmxname, depends) using the depends
found in the WebMetaData. |
public synchronized void | destroy(DeploymentInfo di) Invokes the ServiceController.destroy(jmxName) to destroy the WebModule
and its dependents. |
public boolean | getAcceptNonWarDirs() |
public static URL[] | getClassLoaderURLs(ClassLoader cl) Use reflection to access a URL[] getURLs method so that non-URLClassLoader
class loaders that support this method can provide info. |
public String[] | getCompileClasspath(ClassLoader loader) A utility method that walks up the ClassLoader chain starting at
the given loader and queries each ClassLoader for a 'URL[] getURLs()'
method from which a complete classpath of URL strings is built. |
public Element | getConfig() An accessor for any configuration element set via setConfig. |
public String | getDefaultSecurityDomain() Get the default security domain implementation to use if a war
does not declare a security-domain. |
public WebApplication | getDeployedApp(String warUrl) Get the WebApplication object for a deployed war.
Parameters: warUrl - the war url string as originally passed to deploy(). |
public Iterator | getDeployedApplications() Returns the applications deployed by the web container subclasses. |
abstract public AbstractWebDeployer | getDeployer(DeploymentInfo di) |
public boolean | getJava2ClassLoadingCompliance() Get the flag indicating if the normal Java2 parent first class loading
model should be used over the servlet 2.3 web container first model. |
public boolean | getLenientEjbLink() |
public String | getSubjectAttributeName() |
public boolean | getUnpackWars() Set the flag indicating if war archives should be unpacked. |
public synchronized void | init(DeploymentInfo di) |
public boolean | isDeployed(String warUrl) See if a war is deployed. |
protected void | parseMetaData(String ctxPath, URL warURL, String warName, WebMetaData metaData) This method creates a context-root string from either the
WEB-INF/jboss-web.xml context-root element is one exists, or the
filename portion of the warURL. |
protected void | processNestedDeployments(DeploymentInfo di) |
public WebApplication | removeDeployedApp(URL warURL) |
public void | setAcceptNonWarDirs(boolean flag) |
public void | setConfig(Element config) This method is invoked to import an arbitrary XML configuration tree.
Subclasses should override this method if they support such a configuration
capability. |
public void | setDefaultSecurityDomain(String defaultSecurityDomain) Set the default security domain implementation to use if a war
does not declare a security-domain. |
public void | setJava2ClassLoadingCompliance(boolean flag) Set the flag indicating if the normal Java2 parent first class loading
model should be used over the servlet 2.3 web container first model. |
public void | setLenientEjbLink(boolean flag) |
public void | setSubjectAttributeName(String subjectAttributeName) |
public void | setUnpackWars(boolean flag) Get the flag indicating if war archives should be unpacked. |
public synchronized void | start(DeploymentInfo di) Invokes the ServiceController.start(jmxName) to start the WebModule
after its dependencies are satisfied. |
protected void | startService() |
public synchronized void | stop(DeploymentInfo di) Invokes the ServiceController.start(jmxName) to stop the WebModule
and its dependents. |