org.apache.tomcat.maven.runner
Class Tomcat7Runner
java.lang.Object
org.apache.tomcat.maven.runner.Tomcat7Runner
public class Tomcat7Runner
- extends Object
FIXME add junit for that but when https://issues.apache.org/bugzilla/show_bug.cgi?id=52028 fixed
Main class used to run the standalone wars in a Apache Tomcat instance.
- Since:
- 2.0
- Author:
- Olivier Lamy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USE_SERVER_XML_KEY
public static final String USE_SERVER_XML_KEY
- See Also:
- Constant Field Values
WARS_KEY
public static final String WARS_KEY
- See Also:
- Constant Field Values
ARCHIVE_GENERATION_TIMESTAMP_KEY
public static final String ARCHIVE_GENERATION_TIMESTAMP_KEY
- See Also:
- Constant Field Values
ENABLE_NAMING_KEY
public static final String ENABLE_NAMING_KEY
- See Also:
- Constant Field Values
ACCESS_LOG_VALVE_FORMAT_KEY
public static final String ACCESS_LOG_VALVE_FORMAT_KEY
- See Also:
- Constant Field Values
HTTP_PROTOCOL_KEY
public static final String HTTP_PROTOCOL_KEY
- key of the property which contains http protocol : HTTP/1.1 or org.apache.coyote.http11.Http11NioProtocol
- See Also:
- Constant Field Values
httpPort
public int httpPort
httpsPort
public int httpsPort
ajpPort
public int ajpPort
serverXmlPath
public String serverXmlPath
runtimeProperties
public Properties runtimeProperties
resetExtract
public boolean resetExtract
debug
public boolean debug
clientAuth
public boolean clientAuth
keyAlias
public String keyAlias
httpProtocol
public String httpProtocol
extractDirectory
public String extractDirectory
extractDirectoryFile
public File extractDirectoryFile
loggerName
public String loggerName
Tomcat7Runner
public Tomcat7Runner()
run
public void run()
throws Exception
- Throws:
Exception
stop
public void stop()
throws Exception
- Throws:
Exception
extract
protected void extract()
throws Exception
- Throws:
Exception
useServerXml
public boolean useServerXml()
debugMessage
public void debugMessage(String message)
enableNaming
public boolean enableNaming()
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.