public interface RuntimeBuilder
This is an SPI for plugging in a GlassFishRuntime.
By default different implementations exist to provide different runtime enviornment such as Felix/Equinox based or non-OSGi based runtime.
-
Method Summary
Modifier and TypeMethodDescriptiondefault GlassFishRuntimebuild(BootstrapProperties options) Builds a custom GlassFishRuntime with the supplied bootstrap optionsbuild(BootstrapProperties options, ClassLoader classloader) Builds a custom GlassFishRuntime with the supplied bootstrap optionsbooleanhandles(BootstrapProperties options)
-
Method Details
-
build
Builds a custom GlassFishRuntime with the supplied bootstrap options- Parameters:
options-- Returns:
GlassFishRuntime- Throws:
GlassFishException
-
build
GlassFishRuntime build(BootstrapProperties options, ClassLoader classloader) throws GlassFishException Builds a custom GlassFishRuntime with the supplied bootstrap options- Parameters:
options-classloader-- Returns:
GlassFishRuntime- Throws:
GlassFishException
-
handles
- Parameters:
options-- Returns:
- Returns true if this RuntimeBuilder is capable of creating a GlassFishRuntime for the supplied BootstrapProperties
-