public class ApplicationClassesInSystemClassLoaderWorkerFactory extends Object implements WorkerFactory
Class loader hierarchy:
jvm bootstrap
|
+----------------+--------------+
| |
jvm system worker bootstrap
(GradleWorkerMain, application) (SystemApplicationClassLoaderWorker, logging)
| (ImplementationClassLoaderWorker)
| |
filter filter
(shared packages) (logging)
| |
+---------------+--------------+
|
implementation
(ActionExecutionWorker + worker action implementation)
| Constructor and Description |
|---|
ApplicationClassesInSystemClassLoaderWorkerFactory(Object workerId,
String displayName,
WorkerProcessBuilder processBuilder,
List<URL> implementationClassPath,
Address serverAddress,
ClassPathRegistry classPathRegistry) |
| Modifier and Type | Method and Description |
|---|---|
Callable<?> |
create()
Creates the worker action to be serialized across to the child process.
|
void |
prepareJavaCommand(JavaExecSpec execSpec)
Configures the Java command that will be used to launch the child process.
|
public ApplicationClassesInSystemClassLoaderWorkerFactory(Object workerId, String displayName, WorkerProcessBuilder processBuilder, List<URL> implementationClassPath, Address serverAddress, ClassPathRegistry classPathRegistry)
public void prepareJavaCommand(JavaExecSpec execSpec)
WorkerFactoryprepareJavaCommand in interface WorkerFactorypublic Callable<?> create()
WorkerFactorycreate in interface WorkerFactoryCopyright © 2013. All rights reserved