org.apache.cactus.integration.api.deployable
Class EarDeployableFile

java.lang.Object
  extended by org.apache.cactus.integration.api.deployable.AbstractDeployableFile
      extended by org.apache.cactus.integration.api.deployable.EarDeployableFile
All Implemented Interfaces:
java.lang.Cloneable, DeployableFile

public class EarDeployableFile
extends AbstractDeployableFile
implements java.lang.Cloneable

Represents an EAR file to deploy in a container.

Since:
Cactus 1.5
Version:
$Id: EarDeployableFile.java 239003 2004-05-31 20:05:27Z vmassol $

Field Summary
 
Fields inherited from class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
deployableFile, filterRedirectorMapping, jspRedirectorMapping, servletRedirectorMapping, testContext, warArchive
 
Constructor Summary
EarDeployableFile()
           
 
Method Summary
 boolean isEar()
          Returns whether the deployable file is an enterprise application archive (EAR).
 boolean isWar()
          Returns whether the deployable file is a web-app archive (WAR).
 
Methods inherited from class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
clone, getFile, getFilterRedirectorMapping, getJspRedirectorMapping, getServletRedirectorMapping, getTestContext, getWarArchive, setFile, setFilterRedirectorMapping, setJspRedirectorMapping, setServletRedirectorMapping, setTestContext, setWarArchive
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EarDeployableFile

public EarDeployableFile()
Method Detail

isWar

public final boolean isWar()
Returns whether the deployable file is a web-app archive (WAR).

Specified by:
isWar in interface DeployableFile
Returns:
true if the deployable file is a WAR
See Also:
DeployableFile.isWar()

isEar

public final boolean isEar()
Returns whether the deployable file is an enterprise application archive (EAR).

Specified by:
isEar in interface DeployableFile
Returns:
true if the deployable file is a EAR
See Also:
DeployableFile.isEar()


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