static GlassFishRuntime |
GlassFishRuntime.bootstrap() |
|
static GlassFishRuntime |
GlassFishRuntime.bootstrap(BootstrapProperties bootstrapProperties) |
Bootstrap GlassFish runtime based on runtime configuration passed in the bootstrapProperties object.
|
static GlassFishRuntime |
GlassFishRuntime.bootstrap(BootstrapProperties bootstrapProperties,
ClassLoader cl) |
Bootstrap GlassFish runtime based on runtime configuration passed in the bootstrapProperties object.
|
String |
Deployer.deploy(File file,
String... params) |
Deploys an application identified by a file.
|
String |
Deployer.deploy(InputStream is,
String... params) |
Deploys an application from the specified InputStream object.
|
String |
Deployer.deploy(URI archive,
String... params) |
Deploys an application identified by a URI.
|
void |
GlassFish.dispose() |
Call this method if you don't need this GlassFish instance any more.
|
CommandRunner |
GlassFish.getCommandRunner() |
Gets a CommandRunner instance, using which the user can run asadmin commands.
|
Collection<String> |
Deployer.getDeployedApplications() |
Return names of all the deployed applications.
|
Deployer |
GlassFish.getDeployer() |
Gets a Deployer instance to deploy an application.
|
<T> T |
GlassFish.getService(Class<T> serviceType) |
A service has a service interface and optionally a name.
|
<T> T |
GlassFish.getService(Class<T> serviceType,
String serviceName) |
A service has a service interface and optionally a name.
|
GlassFish.Status |
GlassFish.getStatus() |
Get the current status of GlassFish.
|
GlassFish |
GlassFishRuntime.newGlassFish() |
|
abstract GlassFish |
GlassFishRuntime.newGlassFish(GlassFishProperties glassfishProperties) |
Creates a new instance of GlassFish.
|
abstract void |
GlassFishRuntime.shutdown() |
Shuts down the Runtime and dispose off all the GlassFish objects
created via this Runtime
|
protected static void |
GlassFishRuntime.shutdownInternal() |
|
void |
GlassFish.start() |
Start GlassFish.
|
void |
GlassFish.stop() |
Stop GlassFish.
|
void |
Deployer.undeploy(String appName,
String... params) |
Undeploys an application from GlassFish
This method takes a var-arg argument for the undeployment options.
|