Class GlassFishRuntimeDecorator
- java.lang.Object
-
- org.glassfish.embeddable.GlassFishRuntime
-
- com.sun.enterprise.glassfish.bootstrap.GlassFishRuntimeDecorator
-
- Direct Known Subclasses:
OSGiGlassFishRuntime
public class GlassFishRuntimeDecorator extends GlassFishRuntime
A decorator for GlassFishRuntime- Author:
- Sanjeeb.Sahoo@Oracle.com
-
-
Constructor Summary
Constructors Constructor Description GlassFishRuntimeDecorator(GlassFishRuntime decoratedGfr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlassFishnewGlassFish(GlassFishProperties glassfishProperties)Creates a new instance of GlassFish.voidshutdown()Shuts down the Runtime and dispose off all the GlassFish objects created via this Runtime-
Methods inherited from class org.glassfish.embeddable.GlassFishRuntime
bootstrap, bootstrap, bootstrap, newGlassFish, shutdownInternal
-
-
-
-
Constructor Detail
-
GlassFishRuntimeDecorator
public GlassFishRuntimeDecorator(GlassFishRuntime decoratedGfr)
-
-
Method Detail
-
shutdown
public void shutdown() throws GlassFishExceptionDescription copied from class:GlassFishRuntimeShuts down the Runtime and dispose off all the GlassFish objects created via this Runtime- Specified by:
shutdownin classGlassFishRuntime- Throws:
GlassFishException
-
newGlassFish
public GlassFish newGlassFish(GlassFishProperties glassfishProperties) throws GlassFishException
Description copied from class:GlassFishRuntimeCreates a new instance of GlassFish.- Specified by:
newGlassFishin classGlassFishRuntime- Parameters:
glassfishProperties- GlassFishProperties used to setup the GlassFish instance- Returns:
- newly instantiated GlassFish object. It will be in
GlassFish.Status.INITstate. - Throws:
GlassFishException
-
-