|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectsrc.groovy.org.grails.tomcat.TomcatServer
class TomcatServer
Property Summary | |
---|---|
protected def |
buildSettings
|
org.apache.catalina.core.StandardContext |
context
|
def |
eventListener
|
def |
grailsConfig
|
protected java.lang.String |
keyPassword
|
protected java.lang.String |
keystore
|
protected java.io.File |
keystoreFile
|
org.apache.catalina.startup.Tomcat |
tomcat
|
Constructor Summary | |
TomcatServer(java.lang.String basedir, java.lang.String webXml, java.lang.String contextPath, java.lang.ClassLoader classLoader)
|
|
TomcatServer(java.lang.String warPath, java.lang.String contextPath)
|
Method Summary | |
---|---|
protected def
|
createSSLCertificate()
Creates the necessary SSL certificate for running in HTTPS mode |
protected def
|
initialize()
|
private def
|
preStart()
|
void
|
restart()
Typically combines the stop() and start() methods in order to restart the container |
void
|
start()
Starts the container on the default port |
void
|
start(int port)
Starts the container on the given port |
void
|
start(java.lang.String host, int port)
Starts the container on the given port |
void
|
startSecure()
Starts a secure container running over HTTPS |
void
|
startSecure(int port)
Starts a secure container running over HTTPS for the given port |
void
|
startSecure(java.lang.String host, int httpPort, int httpsPort)
Starts a secure container running over HTTPS for the given port and host. |
void
|
stop()
Stops the container |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
protected def buildSettings
org.apache.catalina.core.StandardContext context
def eventListener
def grailsConfig
protected java.lang.String keyPassword
protected java.lang.String keystore
protected java.io.File keystoreFile
org.apache.catalina.startup.Tomcat tomcat
Constructor Detail |
---|
public TomcatServer(java.lang.String basedir, java.lang.String webXml, java.lang.String contextPath, java.lang.ClassLoader classLoader)
public TomcatServer(java.lang.String warPath, java.lang.String contextPath)
Method Detail |
---|
protected def createSSLCertificate()
protected def initialize()
private def preStart()
void restart()
void start()
void start(int port)
void start(java.lang.String host, int port)
void startSecure()
void startSecure(int port)
void startSecure(java.lang.String host, int httpPort, int httpsPort)
void stop()
Groovy Documentation