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
 GlassFishRuntime build(BootstrapProperties options)
          Builds a custom GlassFishRuntime with the supplied bootstrap options
 boolean handles(BootstrapProperties options)
          Returns true if this RuntimeBuilder is capable of creating a GlassFishRuntime for the supplied BootstrapProperties
 

Method Detail

build

GlassFishRuntime build(BootstrapProperties options)
                       throws GlassFishException
Builds a custom GlassFishRuntime with the supplied bootstrap options

Parameters:
options -
Returns:
Throws:
GlassFishException

handles

boolean handles(BootstrapProperties options)
Returns true if this RuntimeBuilder is capable of creating a GlassFishRuntime for the supplied BootstrapProperties

Parameters:
options -
Returns: