org.objectweb.easybeans.deployable.struct
Class WebModuleImpl

java.lang.Object
  extended by org.objectweb.easybeans.deployable.struct.AbsModuleImpl
      extended by org.objectweb.easybeans.deployable.struct.WebModuleImpl
All Implemented Interfaces:
Module, WebModule

public class WebModuleImpl
extends AbsModuleImpl
implements WebModule

Defines a WEB module inside an application.xml file.

Author:
Florent Benoit

Field Summary
private  java.lang.String contextRoot
          Name of the context-root.
 
Constructor Summary
WebModuleImpl()
           
 
Method Summary
 java.lang.String getContextRoot()
          Gets the context-root name for this module.
 void setContextRoot(java.lang.String contextRoot)
          Sets the given context root.
 
Methods inherited from class org.objectweb.easybeans.deployable.struct.AbsModuleImpl
getAltDd, getPath, setAltDd, setPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.easybeans.deployer.api.struct.Module
getAltDd, getPath
 

Field Detail

contextRoot

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

Constructor Detail

WebModuleImpl

public WebModuleImpl()
Method Detail

getContextRoot

public java.lang.String getContextRoot()
Gets the context-root name for this module.

Specified by:
getContextRoot in interface WebModule
Returns:
the name of the context-root

setContextRoot

public void setContextRoot(java.lang.String contextRoot)
Sets the given context root.

Parameters:
contextRoot - the given context-root value