public class EmbeddedOSGiGlassFishRuntime extends GlassFishRuntime
Constructor and Description |
---|
EmbeddedOSGiGlassFishRuntime(org.osgi.framework.BundleContext context) |
Modifier and Type | Method and Description |
---|---|
protected GlassFish |
createGlassFish(com.sun.enterprise.module.bootstrap.ModuleStartup gfKernel,
org.glassfish.hk2.api.ServiceLocator habitat,
Properties gfProps) |
GlassFish |
newGlassFish(GlassFishProperties gfProps)
Creates a new instance of GlassFish.
|
void |
shutdown()
Shuts down the Runtime and dispose off all the GlassFish objects
created via this Runtime
|
bootstrap, bootstrap, bootstrap, newGlassFish, shutdownInternal
public EmbeddedOSGiGlassFishRuntime(org.osgi.framework.BundleContext context)
public GlassFish newGlassFish(GlassFishProperties gfProps) throws GlassFishException
GlassFishRuntime
newGlassFish
in class GlassFishRuntime
gfProps
- GlassFishProperties used to setup the GlassFish instanceGlassFish.Status.INIT
state.GlassFishException
public void shutdown() throws GlassFishException
GlassFishRuntime
shutdown
in class GlassFishRuntime
GlassFishException
protected GlassFish createGlassFish(com.sun.enterprise.module.bootstrap.ModuleStartup gfKernel, org.glassfish.hk2.api.ServiceLocator habitat, Properties gfProps) throws GlassFishException
GlassFishException
Copyright © 2018. All rights reserved.