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, shutdownInternalpublic EmbeddedOSGiGlassFishRuntime(org.osgi.framework.BundleContext context)
public GlassFish newGlassFish(GlassFishProperties gfProps) throws GlassFishException
GlassFishRuntimenewGlassFish in class GlassFishRuntimegfProps - GlassFishProperties used to setup the GlassFish instanceGlassFish.Status.INIT state.GlassFishExceptionpublic void shutdown()
throws GlassFishException
GlassFishRuntimeshutdown in class GlassFishRuntimeGlassFishExceptionprotected GlassFish createGlassFish(com.sun.enterprise.module.bootstrap.ModuleStartup gfKernel, org.glassfish.hk2.api.ServiceLocator habitat, Properties gfProps) throws GlassFishException
GlassFishExceptionCopyright © 2017. All rights reserved.