Uses of Class
org.glassfish.embeddable.GlassFishException
Packages that use GlassFishException
Package
Description
Provides classes and interfaces necessary to embed GlassFish and perform
lifecycle operations, application deployments and runtime configurations.
Provides classes and interfaces necessary to plugin a custom GlassFish runtime.
-
Uses of GlassFishException in org.glassfish.embeddable
Methods in org.glassfish.embeddable that throw GlassFishExceptionModifier and TypeMethodDescriptionstatic GlassFishRuntimeGlassFishRuntime.bootstrap()Bootstrap a GlassFishRuntime with defaultBootstrapProperties.static GlassFishRuntimeGlassFishRuntime.bootstrap(BootstrapProperties bootstrapProperties) Bootstrap GlassFish runtime based on runtime configuration passed in the bootstrapProperties object.static GlassFishRuntimeGlassFishRuntime.bootstrap(BootstrapProperties bootstrapProperties, ClassLoader cl) Bootstrap GlassFish runtime based on runtime configuration passed in the bootstrapProperties object.Deploys an application identified by a file.Deployer.deploy(InputStream is, String... params) Deploys an application from the specifiedInputStreamobject.Deploys an application identified by a URI.voidGlassFish.dispose()Call this method if you don't need this GlassFish instance any more.GlassFish.getCommandRunner()Gets a CommandRunner instance, using which the user can run asadmin commands.Deployer.getDeployedApplications()Return names of all the deployed applications.GlassFish.getDeployer()Gets a Deployer instance to deploy an application.<T> TGlassFish.getService(Class<T> serviceType) A service has a service interface and optionally a name.<T> TGlassFish.getService(Class<T> serviceType, String serviceName) A service has a service interface and optionally a name.GlassFish.getStatus()Get the current status of GlassFish.GlassFishRuntime.newGlassFish()Create a new instance of GlassFish with defaultGlassFishPropertiesabstract GlassFishGlassFishRuntime.newGlassFish(GlassFishProperties glassfishProperties) Creates a new instance of GlassFish.abstract voidGlassFishRuntime.shutdown()Shuts down the Runtime and dispose off all the GlassFish objects created via this Runtimeprotected static voidGlassFishRuntime.shutdownInternal()voidGlassFish.start()Start GlassFish.voidGlassFish.stop()Stop GlassFish.voidUndeploys an application fromGlassFishThis method takes a var-arg argument for the undeployment options. -
Uses of GlassFishException in org.glassfish.embeddable.spi
Methods in org.glassfish.embeddable.spi that throw GlassFishExceptionModifier and TypeMethodDescriptionRuntimeBuilder.build(BootstrapProperties options) Builds a custom GlassFishRuntime with the supplied bootstrap options