Package org.glassfish.embeddable.spi
Interface RuntimeBuilder
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) booleanhandles(BootstrapProperties options) Returns true if this RuntimeBuilder is capable of creating a GlassFishRuntime for the supplied BootstrapProperties
-
Method Details
-
build
Builds a custom GlassFishRuntime with the supplied bootstrap options- Parameters:
options-- Returns:
- Throws:
GlassFishException
-
build
GlassFishRuntime build(BootstrapProperties options, ClassLoader classloader) throws GlassFishException - Throws:
GlassFishException
-
handles
Returns true if this RuntimeBuilder is capable of creating a GlassFishRuntime for the supplied BootstrapProperties- Parameters:
options-- Returns:
-