Package fish.payara.micro.boot.runtime
Class MicroGlassFishRuntime
- java.lang.Object
-
- org.glassfish.embeddable.GlassFishRuntime
-
- fish.payara.micro.boot.runtime.MicroGlassFishRuntime
-
public class MicroGlassFishRuntime extends GlassFishRuntime
- Author:
- Steve Millidge
-
-
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
-
-
-
-
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
-
-