KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cactus > integration > ant > container > resin > Resin2xContainer


1 /*
2  * ========================================================================
3  *
4  * Copyright 2003 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.container.resin;
21
22 import java.io.File JavaDoc;
23
24 import org.apache.tools.ant.taskdefs.Java;
25 import org.apache.tools.ant.types.FilterChain;
26 import org.apache.tools.ant.types.Path;
27
28 /**
29  * Special container support for the Caucho Resin 2.x servlet container.
30  *
31  * @version $Id: Resin2xContainer.java,v 1.12 2004/05/31 20:05:22 vmassol Exp $
32  */

33 public class Resin2xContainer extends AbstractResinContainer
34 {
35     // AbstractContainer Implementation ----------------------------------------
36

37     /**
38      * @see org.apache.cactus.integration.ant.container.Container#getName
39      */

40     public final String JavaDoc getName()
41     {
42         return "Resin 2.x";
43     }
44     
45     // AbstractResinContainer Implementation -----------------------------------
46

47     /**
48      * @see AbstractResinContainer#getContainerDirName
49      */

50     protected final String JavaDoc getContainerDirName()
51     {
52         return "resin2x";
53     }
54
55     /**
56      * @see AbstractResinContainer#startUpAdditions(Java, Path)
57      */

58     protected void startUpAdditions(Java theJavaContainer, Path theClasspath)
59     {
60         // Nothing additional required
61
}
62
63     /**
64      * @see AbstractResinContainer#prepareAdditions(File, FilterChain)
65      */

66     protected void prepareAdditions(File JavaDoc theInstallDir,
67         FilterChain theFilterChain)
68     {
69         // Nothing additional required
70
}
71 }
72
Popular Tags