Class StaticGlassFishRuntime
- java.lang.Object
-
- org.glassfish.embeddable.GlassFishRuntime
-
- com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime
-
public class StaticGlassFishRuntime extends GlassFishRuntime
The GlassFishRuntime implementation for NonOSGi environments.- Author:
- bhavanishankar@dev.java.net
-
-
Constructor Summary
Constructors Constructor Description StaticGlassFishRuntime(com.sun.enterprise.module.bootstrap.Main main)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcopy(URL u, File destFile, boolean overwrite)GlassFishnewGlassFish(GlassFishProperties glassFishProperties)Creates a new GlassFish instance and add it to a Map of instances created by this runtime.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
-
newGlassFish
public GlassFish newGlassFish(GlassFishProperties glassFishProperties) throws GlassFishException
Creates a new GlassFish instance and add it to a Map of instances created by this runtime.- Specified by:
newGlassFishin classGlassFishRuntime- Parameters:
glassFishProperties-- Returns:
- Throws:
ExceptionGlassFishException
-
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
-
-