KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cactus > integration > ant > deployment > WarDeployableFile


1 /*
2  * ========================================================================
3  *
4  * Copyright 2003-2004 The Apache Software Foundation.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  * ========================================================================
19  */

20 package org.apache.cactus.integration.ant.deployment;
21
22 /**
23  * Represents a WAR file to deploy in a container.
24  *
25  * @since Cactus 1.5
26  * @version $Id: WarDeployableFile.java,v 1.1 2004/05/31 20:05:22 vmassol Exp $
27  */

28 public class WarDeployableFile extends AbstractDeployableFile
29     implements Cloneable JavaDoc
30 {
31     /**
32      * @see DeployableFile#isWar()
33      */

34     public final boolean isWar()
35     {
36         return true;
37     }
38     
39     /**
40      * @see DeployableFile#isEar()
41      */

42     public final boolean isEar()
43     {
44         return false;
45     }
46 }
47
Popular Tags