public class ApplicationClassesInIsolatedClassLoaderWorkerFactory extends Object implements WorkerFactory
Class loader hierarchy:
jvm bootstrap
|
+---------------+----------------+
| |
jvm system application
(ImplementationClassLoaderWorker, logging) |
| |
filter filter
(logging) (shared packages)
| |
+--------------+-----------------+
|
implementation
(ActionExecutionWorker + action implementation)
| Constructor and Description |
|---|
ApplicationClassesInIsolatedClassLoaderWorkerFactory(Object workerId,
String displayName,
WorkerProcessBuilder processBuilder,
Collection<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 ApplicationClassesInIsolatedClassLoaderWorkerFactory(Object workerId, String displayName, WorkerProcessBuilder processBuilder, Collection<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