public class EmbeddedOSGiGlassFishRuntimeBuilder extends Object implements org.glassfish.embeddable.spi.RuntimeBuilder
RuntimeBuilder
is responsible for setting up a GlassFishRuntime
when user has a regular installation of GlassFish and they want to embed GlassFish in an existing OSGi runtime.
It sets up the runtime like this:
1. Installs GlassFish modules.
2. Starts a list of GlassFish bundles.
3. Registers an instance of GlassFishRuntime as service.
build(org.glassfish.embeddable.BootstrapProperties)
,
handles(org.glassfish.embeddable.BootstrapProperties)
Constructor and Description |
---|
EmbeddedOSGiGlassFishRuntimeBuilder() |
public boolean handles(org.glassfish.embeddable.BootstrapProperties bsProps)
handles
in interface org.glassfish.embeddable.spi.RuntimeBuilder
public org.glassfish.embeddable.GlassFishRuntime build(org.glassfish.embeddable.BootstrapProperties bsProps) throws org.glassfish.embeddable.GlassFishException
build
in interface org.glassfish.embeddable.spi.RuntimeBuilder
org.glassfish.embeddable.GlassFishException
Copyright © 2015. All rights reserved.