|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.cli.fork.ForkedGrailsProcess org.grails.plugins.tomcat.fork.ForkedTomcatServer
class ForkedTomcatServer extends ForkedGrailsProcess
An implementation of the Tomcat server that runs in forked mode.
Nested Class Summary | |
---|---|
class |
ForkedTomcatServer.TomcatRunner
|
Property Summary | |
---|---|
TomcatExecutionContext |
executionContext
|
java.lang.ClassLoader |
forkedClassLoader
|
ForkedTomcatServer.TomcatRunner |
tomcatRunner
|
Constructor Summary | |
ForkedTomcatServer(TomcatExecutionContext executionContext)
|
Method Summary | |
---|---|
ExecutionContext
|
createExecutionContext()
|
int
|
getLocalHttpPort()
|
int
|
getLocalHttpsPort()
|
boolean
|
isAvailable(java.lang.String host, int port)
|
void
|
loadCompletedExecutionContext(java.lang.String path)
|
static void
|
main(java.lang.String[] args)
|
java.lang.Object
|
run()
|
void
|
start(java.lang.String host, int port)
|
void
|
startSecure(java.lang.String host, int httpPort, int httpsPort)
|
void
|
stop()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
TomcatExecutionContext executionContext
java.lang.ClassLoader forkedClassLoader
@Delegate ForkedTomcatServer.TomcatRunner tomcatRunner
Constructor Detail |
---|
ForkedTomcatServer(TomcatExecutionContext executionContext)
Method Detail |
---|
@Override ExecutionContext createExecutionContext()
@Override int getLocalHttpPort()
@Override int getLocalHttpsPort()
@CompileStatic boolean isAvailable(java.lang.String host, int port)
void loadCompletedExecutionContext(java.lang.String path)
static void main(java.lang.String[] args)
@CompileStatic java.lang.Object run()
@CompileStatic void start(java.lang.String host, int port)
@CompileStatic void startSecure(java.lang.String host, int httpPort, int httpsPort)
void stop()
Groovy Documentation