B C D F G H I N O R S U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- bootstrap() - Static method in class org.glassfish.embeddable.GlassFishRuntime
-
Bootstrap a GlassFishRuntime with default
BootstrapProperties. - bootstrap(BootstrapProperties) - Static method in class org.glassfish.embeddable.GlassFishRuntime
-
Bootstrap GlassFish runtime based on runtime configuration passed in the bootstrapProperties object.
- bootstrap(BootstrapProperties, ClassLoader) - Static method in class org.glassfish.embeddable.GlassFishRuntime
-
Bootstrap GlassFish runtime based on runtime configuration passed in the bootstrapProperties object.
- BootstrapProperties - Class in org.glassfish.embeddable
-
Encapsulates the set of properties required to bootstrap GlassFishRuntime.
- BootstrapProperties() - Constructor for class org.glassfish.embeddable.BootstrapProperties
-
Create BootstrapProperties with default properties.
- BootstrapProperties(Properties) - Constructor for class org.glassfish.embeddable.BootstrapProperties
-
Create BootstrapProperties with custom properties.
- build(BootstrapProperties) - Method in interface org.glassfish.embeddable.spi.RuntimeBuilder
-
Builds a custom GlassFishRuntime with the supplied bootstrap options
C
- CommandResult - Interface in org.glassfish.embeddable
-
Encapsulates the result of a command invoked using
CommandRunner.run(java.lang.String, java.lang.String...). - CommandResult.ExitStatus - Enum in org.glassfish.embeddable
-
A command can have following types of exit status.
- CommandRunner - Interface in org.glassfish.embeddable
-
GlassFish has a very sophisticated command line interface (CLI) viz., 'asadmin' to executive administrative commands.
D
- deploy(File, String...) - Method in interface org.glassfish.embeddable.Deployer
-
Deploys an application identified by a file.
- deploy(InputStream, String...) - Method in interface org.glassfish.embeddable.Deployer
-
Deploys an application from the specified
InputStreamobject. - deploy(URI, String...) - Method in interface org.glassfish.embeddable.Deployer
-
Deploys an application identified by a URI.
- Deployer - Interface in org.glassfish.embeddable
-
Deployer service for GlassFish.
- dispose() - Method in interface org.glassfish.embeddable.GlassFish
-
Call this method if you don't need this GlassFish instance any more.
- DISPOSED - org.glassfish.embeddable.GlassFish.Status
-
GlassFish is disposed and ready to be garbage collected.
F
- FAILURE - org.glassfish.embeddable.CommandResult.ExitStatus
G
- getCommandRunner() - Method in interface org.glassfish.embeddable.GlassFish
-
Gets a CommandRunner instance, using which the user can run asadmin commands.
- getConfigFileURI() - Method in class org.glassfish.embeddable.GlassFishProperties
-
Get the configurationFileURI set using
GlassFishProperties.setConfigFileURI(String) - getDeployedApplications() - Method in interface org.glassfish.embeddable.Deployer
-
Return names of all the deployed applications.
- getDeployer() - Method in interface org.glassfish.embeddable.GlassFish
-
Gets a Deployer instance to deploy an application.
- getExitStatus() - Method in interface org.glassfish.embeddable.CommandResult
- getFailureCause() - Method in interface org.glassfish.embeddable.CommandResult
-
This method returns any exception raised during command invocation, If the command's exit status is
CommandResult.ExitStatus.SUCCESS, then this method will return null. - getInstallRoot() - Method in class org.glassfish.embeddable.BootstrapProperties
-
Get the location installation root set using
BootstrapProperties.setInstallRoot(java.lang.String) - getInstanceRoot() - Method in class org.glassfish.embeddable.GlassFishProperties
-
Get the location instance root set using
GlassFishProperties.setInstanceRoot(String) - getOutput() - Method in interface org.glassfish.embeddable.CommandResult
- getPort(String) - Method in class org.glassfish.embeddable.GlassFishProperties
-
Get the port number set using
GlassFishProperties.setPort(String, int) - getProperties() - Method in class org.glassfish.embeddable.BootstrapProperties
-
Get the underlying Properties object which backs this BootstrapProperties.
- getProperties() - Method in class org.glassfish.embeddable.GlassFishProperties
-
Get the underlying Properties object which backs this GlassFishProperties.
- getProperty(String) - Method in class org.glassfish.embeddable.BootstrapProperties
-
Get the value of the property with the specified key.
- getService(Class<T>) - Method in interface org.glassfish.embeddable.GlassFish
-
A service has a service interface and optionally a name.
- getService(Class<T>, String) - Method in interface org.glassfish.embeddable.GlassFish
-
A service has a service interface and optionally a name.
- getStatus() - Method in interface org.glassfish.embeddable.GlassFish
-
Get the current status of GlassFish.
- GlassFish - Interface in org.glassfish.embeddable
-
Represents a GlassFish instance and provides the ability to: perform life cycle operations viz., start, stop and dispose.
- GlassFish.Status - Enum in org.glassfish.embeddable
-
Represents the status of
GlassFish. - GlassFishException - Exception in org.glassfish.embeddable
-
A custom Exception type used in the embedded glassfish startup modules.
- GlassFishException(String) - Constructor for exception org.glassfish.embeddable.GlassFishException
- GlassFishException(String, Throwable) - Constructor for exception org.glassfish.embeddable.GlassFishException
- GlassFishException(Throwable) - Constructor for exception org.glassfish.embeddable.GlassFishException
- GlassFishProperties - Class in org.glassfish.embeddable
-
Encapsulates the set of properties required to create a new GlassFish instance.
- GlassFishProperties() - Constructor for class org.glassfish.embeddable.GlassFishProperties
-
Create GlassFishProperties with default properties.
- GlassFishProperties(Properties) - Constructor for class org.glassfish.embeddable.GlassFishProperties
-
Create GlassFishProperties with custom properties.
- GlassFishRuntime - Class in org.glassfish.embeddable
-
This is the entry point API to bootstrap GlassFish.
- GlassFishRuntime() - Constructor for class org.glassfish.embeddable.GlassFishRuntime
H
- handles(BootstrapProperties) - Method in interface org.glassfish.embeddable.spi.RuntimeBuilder
-
Returns true if this RuntimeBuilder is capable of creating a GlassFishRuntime for the supplied BootstrapProperties
I
- INIT - org.glassfish.embeddable.GlassFish.Status
-
Initial state of a newly created GlassFish.
- isConfigFileReadOnly() - Method in class org.glassfish.embeddable.GlassFishProperties
-
Check whether the specified configuration file or config/domain.xml at the specified instance root is operated read only or not.
N
- newGlassFish() - Method in class org.glassfish.embeddable.GlassFishRuntime
-
Create a new instance of GlassFish with default
GlassFishProperties - newGlassFish(GlassFishProperties) - Method in class org.glassfish.embeddable.GlassFishRuntime
-
Creates a new instance of GlassFish.
O
- org.glassfish.embeddable - package org.glassfish.embeddable
-
Provides classes and interfaces necessary to embed GlassFish and perform lifecycle operations, application deployments and runtime configurations.
- org.glassfish.embeddable.spi - package org.glassfish.embeddable.spi
-
Provides classes and interfaces necessary to plugin a custom GlassFish runtime.
R
- run(String, String...) - Method in interface org.glassfish.embeddable.CommandRunner
-
Execute an administrative command in
GlassFishusing the supplied command arguments. - RuntimeBuilder - Interface in org.glassfish.embeddable.spi
-
This is an SPI for plugging in a GlassFishRuntime.
S
- setConfigFileReadOnly(boolean) - Method in class org.glassfish.embeddable.GlassFishProperties
-
Mention whether or not the GlassFish should writeback any changes to specified configuration file or config/domain.xml at the specified instance root.
- setConfigFileURI(String) - Method in class org.glassfish.embeddable.GlassFishProperties
-
Optionally set the location of configuration file (i.e., domain.xml) using which the GlassFish should run.
- setInstallRoot(String) - Method in class org.glassfish.embeddable.BootstrapProperties
-
Optionally set the installation root using which the GlassFish should run.
- setInstanceRoot(String) - Method in class org.glassfish.embeddable.GlassFishProperties
-
Optionally set the instance root (aka domain dir) using which the GlassFish should run.
- setPort(String, int) - Method in class org.glassfish.embeddable.GlassFishProperties
-
Set the port number for a network listener that the GlassFish server should use.
- setProperty(String, String) - Method in class org.glassfish.embeddable.BootstrapProperties
-
Set any custom bootstrap property.
- setProperty(String, String) - Method in class org.glassfish.embeddable.GlassFishProperties
-
Set any custom glassfish property.
- setTerse(boolean) - Method in interface org.glassfish.embeddable.CommandRunner
-
Set the terse level.
- shutdown() - Method in class org.glassfish.embeddable.GlassFishRuntime
-
Shuts down the Runtime and dispose off all the GlassFish objects created via this Runtime
- shutdownInternal() - Static method in class org.glassfish.embeddable.GlassFishRuntime
- start() - Method in interface org.glassfish.embeddable.GlassFish
-
Start GlassFish.
- STARTED - org.glassfish.embeddable.GlassFish.Status
-
GlassFish is up and running.
- STARTING - org.glassfish.embeddable.GlassFish.Status
-
GlassFish is being started.
- stop() - Method in interface org.glassfish.embeddable.GlassFish
-
Stop GlassFish.
- STOPPED - org.glassfish.embeddable.GlassFish.Status
-
GlassFish is stopped.
- STOPPING - org.glassfish.embeddable.GlassFish.Status
-
GlassFish is being stopped.
- SUCCESS - org.glassfish.embeddable.CommandResult.ExitStatus
U
- undeploy(String, String...) - Method in interface org.glassfish.embeddable.Deployer
-
Undeploys an application from
GlassFishThis method takes a var-arg argument for the undeployment options.
V
- valueOf(String) - Static method in enum org.glassfish.embeddable.CommandResult.ExitStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.glassfish.embeddable.GlassFish.Status
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.glassfish.embeddable.CommandResult.ExitStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.glassfish.embeddable.GlassFish.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WARNING - org.glassfish.embeddable.CommandResult.ExitStatus
All Classes All Packages