org.apache.cactus.integration.ant
Class CactusWar

java.lang.Object
  extended by org.apache.cactus.integration.ant.CactusWar

public class CactusWar
extends java.lang.Object

Implements the nested element cactuswar of the cactifyear task. This element can be configured exactly as the cactifywar task with some additions as context within the ear file.

Version:
$Id: CactusWar.java 239162 2005-04-26 09:57:59Z grimsell $

Constructor Summary
CactusWar()
           
 
Method Summary
 void addConfiguredEjbref(org.codehaus.cargo.module.webapp.EjbRef theEjbRef)
          Adds a configured EjbRef instance.
 java.lang.String getContext()
           
 java.lang.String getFileName()
           
 void setContext(java.lang.String theContext)
           
 void setDestFile(java.io.File destFile)
          Setter method for the destination file.
 void setVersion(Version theVersion)
          Sets the web-app version to use when creating a WAR file from scratch.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CactusWar

public CactusWar()
Method Detail

getContext

public java.lang.String getContext()
Returns:
Returns the context.

setContext

public void setContext(java.lang.String theContext)
Parameters:
theContext - The context to set.

getFileName

public java.lang.String getFileName()
Returns:
the name of the web app file

setVersion

public final void setVersion(Version theVersion)
Sets the web-app version to use when creating a WAR file from scratch.

Parameters:
theVersion - The version

addConfiguredEjbref

public final void addConfiguredEjbref(org.codehaus.cargo.module.webapp.EjbRef theEjbRef)
Adds a configured EjbRef instance. Called by Ant.

Parameters:
theEjbRef - the EjbRef to add

setDestFile

public void setDestFile(java.io.File destFile)
Setter method for the destination file.

Parameters:
destFile -


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.