org.ow2.util.ee.deploy.api.deployable
Interface WARDeployable

All Superinterfaces:
IDeployable<WARDeployable>

public interface WARDeployable
extends IDeployable<WARDeployable>

Represents a WAR deployable.

Author:
Florent Benoit

Method Summary
 String getContextRoot()
           
 void setContextRoot(String contextRoot)
          Defines the name of the context-root.
 
Methods inherited from interface org.ow2.util.ee.deploy.api.deployable.IDeployable
addExtension, getArchive, getExtension, getModuleName, getOriginalDeployable, getShortName, getUnpackedDeployable, setOriginalDeployable, setUnpackedDeployable
 

Method Detail

getContextRoot

String getContextRoot()
Returns:
the list of the context root for this deployable.
Note: It can be the context-root defined at the EAR level.

setContextRoot

void setContextRoot(String contextRoot)
Defines the name of the context-root.

Parameters:
contextRoot - the given context-root for this war file


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.