Class DefaultJvmLauncherFactory
- java.lang.Object
-
- org.codehaus.cargo.container.spi.jvm.DefaultJvmLauncherFactory
-
- All Implemented Interfaces:
JvmLauncherFactory
public class DefaultJvmLauncherFactory extends Object implements JvmLauncherFactory
The factory to create JVM launchers.
-
-
Constructor Summary
Constructors Constructor Description DefaultJvmLauncherFactory()
Constructs a launcher with default settings.DefaultJvmLauncherFactory(List<String> additionalClasspathEntries)
Constructs a launcher with additional classpath entries.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JvmLauncher
createJvmLauncher(JvmLauncherRequest request)
Creates a new JVM launcher for the specified request.
-
-
-
Method Detail
-
createJvmLauncher
public JvmLauncher createJvmLauncher(JvmLauncherRequest request)
Creates a new JVM launcher for the specified request.- Specified by:
createJvmLauncher
in interfaceJvmLauncherFactory
- Parameters:
request
- The details about the launch, must not benull
.- Returns:
- The new JVM launcher, never
null
.
-
-