Class EmbeddedOSGiGlassFishRuntimeBuilder
- java.lang.Object
-
- com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntimeBuilder
-
- All Implemented Interfaces:
RuntimeBuilder
public class EmbeddedOSGiGlassFishRuntimeBuilder extends Object implements RuntimeBuilder
ThisRuntimeBuilderis responsible for setting up aGlassFishRuntimewhen 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.- Author:
- Sanjeeb.Sahoo@Sun.COM
- See Also:
build(org.glassfish.embeddable.BootstrapProperties),handles(org.glassfish.embeddable.BootstrapProperties)
-
-
Constructor Summary
Constructors Constructor Description EmbeddedOSGiGlassFishRuntimeBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlassFishRuntimebuild(BootstrapProperties bootstrapProperties)Builds a custom GlassFishRuntime with the supplied bootstrap optionsbooleanhandles(BootstrapProperties bsProps)Returns true if this RuntimeBuilder is capable of creating a GlassFishRuntime for the supplied BootstrapProperties
-
-
-
Method Detail
-
handles
public boolean handles(BootstrapProperties bsProps)
Description copied from interface:RuntimeBuilderReturns true if this RuntimeBuilder is capable of creating a GlassFishRuntime for the supplied BootstrapProperties- Specified by:
handlesin interfaceRuntimeBuilder- Returns:
-
build
public GlassFishRuntime build(BootstrapProperties bootstrapProperties) throws GlassFishException
Description copied from interface:RuntimeBuilderBuilds a custom GlassFishRuntime with the supplied bootstrap options- Specified by:
buildin interfaceRuntimeBuilder- Returns:
- Throws:
GlassFishException
-
-