org.apache.tomcat.maven.runner
Class Tomcat7Runner

java.lang.Object
  extended by 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

Field Summary
static String ACCESS_LOG_VALVE_FORMAT_KEY
           
 int ajpPort
           
static String ARCHIVE_GENERATION_TIMESTAMP_KEY
           
 boolean clientAuth
           
 boolean debug
           
static String ENABLE_NAMING_KEY
           
 String extractDirectory
           
 File extractDirectoryFile
           
static String HTTP_PROTOCOL_KEY
          key of the property which contains http protocol : HTTP/1.1 or org.apache.coyote.http11.Http11NioProtocol
 int httpPort
           
 String httpProtocol
           
 int httpsPort
           
 String keyAlias
           
 String loggerName
           
 boolean resetExtract
           
 Properties runtimeProperties
           
 String serverXmlPath
           
static String USE_SERVER_XML_KEY
           
static String WARS_KEY
           
 
Constructor Summary
Tomcat7Runner()
           
 
Method Summary
 void debugMessage(String message)
           
 boolean enableNaming()
           
protected  void extract()
           
 void run()
           
 void stop()
           
 boolean useServerXml()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Tomcat7Runner

public Tomcat7Runner()
Method Detail

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.