1 20 package org.apache.cactus.integration.ant.container; 21 22 import java.io.File ; 23 24 import org.apache.cactus.integration.ant.deployment.DeployableFile; 25 import org.apache.cactus.integration.ant.util.AntTaskFactory; 26 import org.apache.commons.logging.Log; 27 import org.apache.tools.ant.types.Path; 28 import org.apache.tools.ant.types.Environment.Variable; 29 30 37 public interface Container 38 { 39 41 46 String getName(); 47 48 53 int getPort(); 54 55 59 String getTestContext(); 60 61 64 long getStartUpWait(); 65 66 71 File getToDir(); 72 73 77 Variable[] getSystemProperties(); 78 79 86 void init(); 87 88 94 boolean isEnabled(); 95 96 104 boolean isExcluded(String theTestName); 105 106 111 void setAntTaskFactory(AntTaskFactory theFactory); 112 113 118 void setLog(Log theLog); 119 120 127 void setDeployableFile(DeployableFile theDeployableFile); 128 129 136 void setSystemProperties(Variable[] theProperties); 137 138 145 void setContainerClasspath(Path theClasspath); 146 147 151 Path getContainerClasspath(); 152 153 157 void startUp(); 158 159 163 void shutDown(); 164 } 165 | Popular Tags |