|
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
abstract class ForkedGrailsProcess extends java.lang.Object
Helper class for kicking off forked JVM processes, helpful in managing the setup and execution of the forked process. Subclasses should provided a static void main method.
Nested Class Summary | |
---|---|
static class |
ForkedGrailsProcess.TextDumper
|
Property Summary | |
---|---|
boolean |
debug
|
java.util.List |
jvmArgs
|
int |
maxMemory
|
int |
maxPerm
|
int |
minMemory
|
java.io.File |
reloadingAgent
|
Method Summary | |
---|---|
static java.util.List
|
buildMinimalIsolatedClasspath(BuildSettings buildSettings)
|
void
|
configure(java.util.Map forkConfig)
|
protected groovy.lang.GroovyClassLoader
|
createClassLoader(BuildSettings buildSettings)
|
ExecutionContext
|
createExecutionContext()
|
protected void
|
discoverAndSetAgent(ExecutionContext executionContext)
|
static java.io.File
|
findJarFile(java.lang.Class targetClass)
|
java.lang.Process
|
fork()
|
protected void
|
initializeLogging(java.io.File grailsHome, java.lang.ClassLoader classLoader)
|
ExecutionContext
|
readExecutionContext()
|
protected void
|
setupReloading(java.net.URLClassLoader classLoader, BuildSettings buildSettings)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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 |
---|
boolean debug
java.util.List jvmArgs
int maxMemory
int maxPerm
int minMemory
java.io.File reloadingAgent
Method Detail |
---|
@CompileStatic static java.util.List buildMinimalIsolatedClasspath(BuildSettings buildSettings)
@CompileStatic void configure(java.util.Map forkConfig)
@CompileStatic protected groovy.lang.GroovyClassLoader createClassLoader(BuildSettings buildSettings)
ExecutionContext createExecutionContext()
@CompileStatic protected void discoverAndSetAgent(ExecutionContext executionContext)
@CompileStatic static java.io.File findJarFile(java.lang.Class targetClass)
@CompileStatic java.lang.Process fork()
protected void initializeLogging(java.io.File grailsHome, java.lang.ClassLoader classLoader)
@CompileStatic ExecutionContext readExecutionContext()
protected void setupReloading(java.net.URLClassLoader classLoader, BuildSettings buildSettings)
Groovy Documentation