org.objectweb.easybeans.deployable.impl
Class WARDeployableImpl

java.lang.Object
  extended by org.objectweb.easybeans.deployable.impl.AbsDeployable
      extended by org.objectweb.easybeans.deployable.impl.WARDeployableImpl
All Implemented Interfaces:
EZBDeployable, WARDeployable

public class WARDeployableImpl
extends AbsDeployable
implements WARDeployable

Implementation for a WAR.

Author:
Florent Benoit

Field Summary
private  java.lang.String contextRoot
          Name of the context-root.
 
Constructor Summary
WARDeployableImpl(EZBArchive archive)
          Defines and create a deployable for the given archive.
 
Method Summary
 java.lang.String getContextRoot()
           
 void setContextRoot(java.lang.String contextRoot)
          Defines the name of the context-root.
 
Methods inherited from class org.objectweb.easybeans.deployable.impl.AbsDeployable
getArchive, getOriginalDeployable, getUnpackedDeployable, setOriginalDeployable, setUnpackedDeployable, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.objectweb.easybeans.deployer.api.EZBDeployable
getArchive, getOriginalDeployable, getUnpackedDeployable, setUnpackedDeployable
 

Field Detail

contextRoot

private java.lang.String contextRoot
Name of the context-root.

Constructor Detail

WARDeployableImpl

public WARDeployableImpl(EZBArchive archive)
Defines and create a deployable for the given archive.

Parameters:
archive - the given archive.
Method Detail

getContextRoot

public java.lang.String getContextRoot()
Specified by:
getContextRoot in interface WARDeployable
Returns:
the list of the context root for this deployable.
Note: It can be the context-root defined at the EAR level.

setContextRoot

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

Specified by:
setContextRoot in interface WARDeployable
Parameters:
contextRoot - the given context-root for this war file