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:
- [email protected]
-
-
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 void
copy(URL u, File destFile, boolean overwrite)
GlassFish
newGlassFish(GlassFishProperties glassFishProperties)
Creates a new GlassFish instance and add it to a Map of instances created by this runtime.void
shutdown()
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:
newGlassFish
in classGlassFishRuntime
- Parameters:
glassFishProperties
-- Returns:
- Throws:
Exception
GlassFishException
-
shutdown
public void shutdown() throws GlassFishException
Description copied from class:GlassFishRuntime
Shuts down the Runtime and dispose off all the GlassFish objects created via this Runtime- Specified by:
shutdown
in classGlassFishRuntime
- Throws:
GlassFishException
-
-