01: /*
02: * ========================================================================
03: *
04: * Copyright 2003 The Apache Software Foundation.
05: *
06: * Licensed under the Apache License, Version 2.0 (the "License");
07: * you may not use this file except in compliance with the License.
08: * You may obtain a copy of the License at
09: *
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;
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 239003 2004-05-31 20:05:27Z vmassol $
32: */
33: public class Resin2xContainer extends AbstractResinContainer {
34: // AbstractContainer Implementation ----------------------------------------
35:
36: /**
37: * @see org.apache.cactus.integration.ant.container.Container#getName
38: */
39: public final String getName() {
40: return "Resin 2.x";
41: }
42:
43: // AbstractResinContainer Implementation -----------------------------------
44:
45: /**
46: * @see AbstractResinContainer#getContainerDirName
47: */
48: protected final String getContainerDirName() {
49: return "resin2x";
50: }
51:
52: /**
53: * @see AbstractResinContainer#startUpAdditions(Java, Path)
54: */
55: protected void startUpAdditions(Java theJavaContainer,
56: Path theClasspath) {
57: // Nothing additional required
58: }
59:
60: /**
61: * @see AbstractResinContainer#prepareAdditions(File, FilterChain)
62: */
63: protected void prepareAdditions(File theInstallDir,
64: FilterChain theFilterChain) {
65: // Nothing additional required
66: }
67: }
|