Index

B C D F G H I N O R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

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 Class 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.
CONFIG_FILE_READ_ONLY - Static variable in class org.glassfish.embeddable.GlassFishProperties
Key for specifying whether the specified configuration file (domain.xml) or config/domain.xml at the user specified instanceRoot should be operated by GlassFish in read only mode or not.
CONFIG_FILE_URI_PROP_NAME - Static variable in class org.glassfish.embeddable.GlassFishProperties
Key for specifying absolute URI which configuration file (domain.xml) GlassFish should run with.

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 InputStream object.
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 - Enum constant in enum class org.glassfish.embeddable.GlassFish.Status
GlassFish is disposed and ready to be garbage collected.

F

FAILURE - Enum constant in enum class 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 absolute 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 Class in org.glassfish.embeddable
Represents the status of GlassFish.
GlassFishException - Exception Class in org.glassfish.embeddable
A custom Exception type used in the embedded glassfish startup modules.
GlassFishException(String) - Constructor for exception class org.glassfish.embeddable.GlassFishException
 
GlassFishException(String, Throwable) - Constructor for exception class org.glassfish.embeddable.GlassFishException
 
GlassFishException(Throwable) - Constructor for exception class 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
Default constructor, doesn't do anything

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 - Enum constant in enum class org.glassfish.embeddable.GlassFish.Status
Initial state of a newly created GlassFish.
INSTANCE_ROOT_PROP_NAME - Static variable in class org.glassfish.embeddable.GlassFishProperties
Key for specifying which instance root (aka domain dir) GlassFish should run with.
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 GlassFish using the supplied command arguments.
RuntimeBuilder - Interface in org.glassfish.embeddable.spi
This is an SPI for plugging in a GlassFishRuntime.

S

setConfigFile(File) - Method in class org.glassfish.embeddable.GlassFishProperties
Optionally set the location of configuration file (i.e., domain.xml) using which the GlassFish should run.
setConfigFile(URI) - Method in class org.glassfish.embeddable.GlassFishProperties
Optionally set the location of configuration file (i.e., domain.xml) using which the GlassFish should run.
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
Deprecated, for removal: This API element is subject to removal in a future version.
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 - Enum constant in enum class org.glassfish.embeddable.GlassFish.Status
GlassFish is up and running.
STARTING - Enum constant in enum class org.glassfish.embeddable.GlassFish.Status
GlassFish is being started.
stop() - Method in interface org.glassfish.embeddable.GlassFish
Stop GlassFish.
STOPPED - Enum constant in enum class org.glassfish.embeddable.GlassFish.Status
GlassFish is stopped.
STOPPING - Enum constant in enum class org.glassfish.embeddable.GlassFish.Status
GlassFish is being stopped.
SUCCESS - Enum constant in enum class org.glassfish.embeddable.CommandResult.ExitStatus
 

T

toString() - Method in class org.glassfish.embeddable.BootstrapProperties
 

U

undeploy(String, String...) - Method in interface org.glassfish.embeddable.Deployer
Undeploys an application from GlassFish This method takes a var-arg argument for the undeployment options.

V

valueOf(String) - Static method in enum class org.glassfish.embeddable.CommandResult.ExitStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.glassfish.embeddable.GlassFish.Status
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.glassfish.embeddable.CommandResult.ExitStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.glassfish.embeddable.GlassFish.Status
Returns an array containing the constants of this enum class, in the order they are declared.

W

WARNING - Enum constant in enum class org.glassfish.embeddable.CommandResult.ExitStatus
 
B C D F G H I N O R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form