A B C D E F G H I J L M N O P R S T U V W

A

addArchive(URI) - Method in class org.glassfish.embeddable.archive.ScatteredEnterpriseArchive
Add a module or a library to this scattered enterprise archive.
addArchive(URI, String) - Method in class org.glassfish.embeddable.archive.ScatteredEnterpriseArchive
Add a module or a library to this scattered enterprise archive.
addArchive(File) - Method in class org.glassfish.embeddable.archive.ScatteredEnterpriseArchive
Add a module or a library to this scattered enterprise archive.
addArchive(File, String) - Method in class org.glassfish.embeddable.archive.ScatteredEnterpriseArchive
Add a module or a library to this scattered enterprise archive.
addClassPath(File) - Method in class org.glassfish.embeddable.archive.ScatteredArchive
Add a directory or a JAR file to this scattered archive.
addContext(Context, String) - Method in interface org.glassfish.embeddable.web.VirtualServer
Registers the given Context with this VirtualServer at the given context root.
addContext(Context, String) - Method in interface org.glassfish.embeddable.web.WebContainer
Registers the given Context with all VirtualServer at the given context root.
addListener(T) - Method in interface org.glassfish.embeddable.web.Context
Registers the given listener with this Context.
addListener(Class<? extends EventListener>) - Method in interface org.glassfish.embeddable.web.Context
Instantiates a listener from the given class and registers it with this Context.
addMetadata(File) - Method in class org.glassfish.embeddable.archive.ScatteredArchive
Add a new metadata to this scattered archive.
addMetadata(File, String) - Method in class org.glassfish.embeddable.archive.ScatteredArchive
Add a new metadata to this scattered archive.
addMetadata(File) - Method in class org.glassfish.embeddable.archive.ScatteredEnterpriseArchive
Add a new metadata to this scattered enterprise archive.
addMetadata(File, String) - Method in class org.glassfish.embeddable.archive.ScatteredEnterpriseArchive
Add a new metadata to this enterprise archive.
addVirtualServer(VirtualServer) - Method in interface org.glassfish.embeddable.web.WebContainer
Adds the given VirtualServer to this WebContainer.
addWebListener(WebListener) - Method in interface org.glassfish.embeddable.web.WebContainer
Adds the given WebListener to this WebContainer.
AjpListener - Class in org.glassfish.embeddable.web
Listener which listens via AJP protocol
AjpListener() - Constructor for class org.glassfish.embeddable.web.AjpListener
 
APP_NAME - Static variable in class javax.ejb.embeddable.EJBContainer
Standard property name for specifying the application name of the EJB modules executing within the embeddable container.
AuthMethod - Enum in org.glassfish.embeddable.web.config
Enumeration of supported authentication methods.

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

close() - Method in class javax.ejb.embeddable.EJBContainer
Shutdown an embeddable EJBContainer instance.
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.
ConfigException - Exception in org.glassfish.embeddable.web
Exception thrown when a web container component fails to be (re)configured, or if it fails to be registered with another web container component because its id (in the case of VirtualServer and WebListener) or context root (in the case of Context) is already taken.
ConfigException(String) - Constructor for exception org.glassfish.embeddable.web.ConfigException
Constructs a ConfigException with the specified detail message.
ConfigException(String, Throwable) - Constructor for exception org.glassfish.embeddable.web.ConfigException
Constructs a ConfigException with the specified detail message and cause.
ConfigException(Throwable) - Constructor for exception org.glassfish.embeddable.web.ConfigException
Constructs a ConfigException with the specified cause.
Context - Interface in org.glassfish.embeddable.web
Representation of a web application.
createContext(File) - Method in interface org.glassfish.embeddable.web.WebContainer
Creates a Context and configures it with the given docroot and classloader.
createContext(File, String, ClassLoader) - Method in interface org.glassfish.embeddable.web.WebContainer
Creates a Context, configures it with the given docroot and classloader, and registers it with the default VirtualServer.
createContext(File, ClassLoader) - Method in interface org.glassfish.embeddable.web.WebContainer
Creates a Context and configures it with the given docroot and classloader.
createEJBContainer() - Static method in class javax.ejb.embeddable.EJBContainer
Create and initialize an embeddable EJB container.
createEJBContainer(Map<?, ?>) - Static method in class javax.ejb.embeddable.EJBContainer
Create and initialize an embeddable EJB container with a set of configuration properties.
createVirtualServer(String, File, WebListener...) - Method in interface org.glassfish.embeddable.web.WebContainer
Creates a VirtualServer with the given id and docroot, and maps it to the given WebListener instances.
createVirtualServer(String, File) - Method in interface org.glassfish.embeddable.web.WebContainer
Creates a VirtualServer with the given id and docroot, and maps it to all WebListener instances.
createWebListener(String, Class<T>) - Method in interface org.glassfish.embeddable.web.WebContainer
Creates a WebListener from the given class type and assigns the given id to it.

D

deploy(URI, String...) - Method in interface org.glassfish.embeddable.Deployer
Deploys an application identified by a URI.
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.
Deployer - Interface in org.glassfish.embeddable
Deployer service for GlassFish.
disable() - Method in interface org.glassfish.embeddable.web.Lifecycle
Disables this component.
disable() - Method in class org.glassfish.embeddable.web.WebListenerBase
Disables this component.
dispose() - Method in interface org.glassfish.embeddable.GlassFish
Call this method if you don't need this GlassFish instance any more.

E

EJBContainer - Class in javax.ejb.embeddable
Used to execute an EJB application in an embeddable container.
EJBContainer() - Constructor for class javax.ejb.embeddable.EJBContainer
 
enable() - Method in interface org.glassfish.embeddable.web.Lifecycle
Enables this component.
enable() - Method in class org.glassfish.embeddable.web.WebListenerBase
Enables this component.

F

FormLoginConfig - Class in org.glassfish.embeddable.web.config
Class that is used for configuring form based login, when the authentication method is set to FORM in LoginConfig
FormLoginConfig(String, String) - Constructor for class org.glassfish.embeddable.web.config.FormLoginConfig
Creates an instance of the FormLoginConfig with the specified loginPage and errorPage

G

getAlgorithms() - Method in class org.glassfish.embeddable.web.config.SslConfig
Gets the algorithm
getAllowRemoteAddress() - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Gets the comma-separated list of regular expression patterns that the remote client's IP address is compared to.
getAllowRemoteHost() - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Gets the comma-separated list of regular expression patterns that the remote client's hostname (as returned by java.net.Socket.getInetAddress().getHostName()) is compared to.
getAuthConstraint() - Method in class org.glassfish.embeddable.web.config.SecurityConstraint
Gets the roles authorized to access the URL patterns and HTTP methods
getAuthMethod() - Method in class org.glassfish.embeddable.web.config.LoginConfig
Gets the auth method for the context
getCommandRunner() - Method in interface org.glassfish.embeddable.GlassFish
Gets a CommandRunner instance, using which the user can run asadmin commands.
getConfig() - Method in interface org.glassfish.embeddable.web.VirtualServer
Gets the current configuration of this VirtualServer.
getConfig() - Method in interface org.glassfish.embeddable.web.WebListener
Gets the current configuration of this WebListener.
getConfig() - Method in class org.glassfish.embeddable.web.WebListenerBase
Gets the current configuration of this WebListener.
getConfigFileURI() - Method in class org.glassfish.embeddable.GlassFishProperties
Get the configurationFileURI set using GlassFishProperties.setConfigFileURI(String)
getContext() - Method in class javax.ejb.embeddable.EJBContainer
Retrieve a naming context for looking up references to session beans executing in the embeddable container.
getContext(String) - Method in interface org.glassfish.embeddable.web.VirtualServer
Finds the Context registered at the given context root.
getContexts() - Method in interface org.glassfish.embeddable.web.VirtualServer
Gets the collection of Context instances registered with this VirtualServer.
getContextXmlDefault() - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Gets the location of the default context.xml configuration file.
getDataConstraint() - Method in class org.glassfish.embeddable.web.config.SecurityConstraint
Gets the transport guarantee requirements for this SecurityConstraint
getDefaultWebXml() - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Gets the location of the default web.xml configuration file.
getDefaultWebXml() - Method in class org.glassfish.embeddable.web.config.WebContainerConfig
Gets the default web xml (default: org/glassfish/web/embed/default-web.xml).
getDenyRemoteAddress() - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Gets the comma-separated list of regular expression patterns that the remote client's IP address is compared to.
getDenyRemoteHost() - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Gets the comma-separated list of regular expression patterns that the remote client's hostname (as returned by java.net.Socket.getInetAddress().getHostName()) is compared to.
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.
getDocRoot() - Method in interface org.glassfish.embeddable.web.VirtualServer
Gets the docroot of this VirtualServer.
getDocRootDir() - Method in class org.glassfish.embeddable.web.config.WebContainerConfig
Gets the docroot directory
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.
getFormErrorPage() - Method in class org.glassfish.embeddable.web.config.FormLoginConfig
Get the form error page
getFormLoginConfig() - Method in class org.glassfish.embeddable.web.config.LoginConfig
Gets the form login config, or null if the authentication scheme is not form based login.
getFormLoginPage() - Method in class org.glassfish.embeddable.web.config.FormLoginConfig
Gets the login page
getHandshakeTimeout() - Method in class org.glassfish.embeddable.web.config.SslConfig
Gets the timeout
getHostNames() - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Gets the host names assigned to any VirtualServer configured via this VirtualServerConfig.
getHostNames() - Method in class org.glassfish.embeddable.web.config.WebContainerConfig
Gets the host names of the default VirtualServer (default: localhost).
getHttpMethodOmissions() - Method in class org.glassfish.embeddable.web.config.WebResourceCollection
Gets the HTTP methods to be omitted from protection
getHttpMethods() - Method in class org.glassfish.embeddable.web.config.WebResourceCollection
Gets the HTTP methods that should be protected
getId() - Method in class org.glassfish.embeddable.web.config.WebListenerConfig
Gets the id used for configuring WebListener.
getID() - Method in interface org.glassfish.embeddable.web.VirtualServer
Gets the id of this VirtualServer.
getId() - Method in interface org.glassfish.embeddable.web.WebListener
Gets the id of this WebListener.
getId() - Method in class org.glassfish.embeddable.web.WebListenerBase
Gets the id of this WebListener.
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)
getKeyPassword() - Method in class org.glassfish.embeddable.web.config.SslConfig
Gets the password of the keystore file
getKeyStore() - Method in class org.glassfish.embeddable.web.config.SslConfig
Gets the location of the keystore file
getListenerName() - Method in class org.glassfish.embeddable.web.config.WebContainerConfig
Gets the default listener name
getListings() - Method in class org.glassfish.embeddable.web.config.WebContainerConfig
Return if directory listings is enabled
getLoginConfig() - Method in class org.glassfish.embeddable.web.config.SecurityConfig
Gets the login config for the context
getName() - Method in class org.glassfish.embeddable.web.config.WebResourceCollection
Gets the name of this collection
getOutput() - Method in interface org.glassfish.embeddable.CommandResult
 
getPath() - Method in interface org.glassfish.embeddable.web.Context
Return the context path for this Context.
getPort(String) - Method in class org.glassfish.embeddable.GlassFishProperties
Get the port number set using GlassFishProperties.setPort(String, int)
getPort() - Method in class org.glassfish.embeddable.web.config.WebContainerConfig
Gets the port of the default WebListener (default: 8080).
getPort() - Method in class org.glassfish.embeddable.web.config.WebListenerConfig
Gets the port number used for configuring WebListener.
getPort() - Method in interface org.glassfish.embeddable.web.WebListener
Gets the port number of this WebListener.
getPort() - Method in class org.glassfish.embeddable.web.WebListenerBase
Gets the port number of this WebListener.
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.
getProtocol() - Method in class org.glassfish.embeddable.web.config.WebListenerConfig
Gets the protocol used for configuring WebListener.
getProtocol() - Method in interface org.glassfish.embeddable.web.WebListener
Gets the protocol of this WebListener.
getProtocol() - Method in class org.glassfish.embeddable.web.WebListenerBase
Gets the protocol used by this WebListener.
getRealmName() - Method in class org.glassfish.embeddable.web.config.LoginConfig
Gets the realm name set for the context
getRealmType() - Method in class org.glassfish.embeddable.web.config.LoginConfig
Gets the realm type for the context
getSecurityConfig() - Method in interface org.glassfish.embeddable.web.Context
Gets the security related configuration for this context
getSecurityConstraints() - Method in class org.glassfish.embeddable.web.config.SecurityConfig
Gets the security constraints for the context
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.
getSslConfig() - Method in class org.glassfish.embeddable.web.HttpsListener
Gets the SslConfig for this web listener
getStatus() - Method in interface org.glassfish.embeddable.GlassFish
Get the current status of GlassFish.
getTrustStore() - Method in class org.glassfish.embeddable.web.config.SslConfig
Gets the truststore file location
getUrlPatterns() - Method in class org.glassfish.embeddable.web.config.WebResourceCollection
Gets the url patterns that correspond to this web resource
getVirtualServer(String) - Method in interface org.glassfish.embeddable.web.WebContainer
Finds the VirtualServer with the given id.
getVirtualServerId() - Method in class org.glassfish.embeddable.web.config.WebContainerConfig
Gets the id of the default VirtualServer (default: server).
getVirtualServers() - Method in interface org.glassfish.embeddable.web.WebContainer
Gets the collection of VirtualServer instances registered with this WebContainer.
getWebListener(String) - Method in interface org.glassfish.embeddable.web.WebContainer
Finds the WebListener with the given id.
getWebListeners() - Method in interface org.glassfish.embeddable.web.VirtualServer
Gets the collection of WebListener instances from which this VirtualServer receives requests.
getWebListeners() - Method in interface org.glassfish.embeddable.web.WebContainer
Gets the collection of WebListener instances registered with this WebContainer.
getWebResourceCollection() - Method in class org.glassfish.embeddable.web.config.SecurityConstraint
Gets the web resource collection for this security constraint
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, Throwable) - Constructor for exception org.glassfish.embeddable.GlassFishException
 
GlassFishException(Throwable) - Constructor for exception org.glassfish.embeddable.GlassFishException
 
GlassFishException(String) - 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.

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
HttpListener - Class in org.glassfish.embeddable.web
HTTP Listener listens on a TCP port for incoming HTTP connection
HttpListener() - Constructor for class org.glassfish.embeddable.web.HttpListener
 
HttpsListener - Class in org.glassfish.embeddable.web
HTTPS Listener which listens on a protocol that is secured.
HttpsListener() - Constructor for class org.glassfish.embeddable.web.HttpsListener
 

I

isAccessLoggingEnabled() - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Checks if access logging is enabled or disabled.
isAllowLinking() - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Checks if resources that are symbolic links will be served.
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.
isDirectoryListing() - Method in interface org.glassfish.embeddable.web.Context
Checks whether directory listings are enabled or disabled on this Context.
isSsoEnabled() - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Checks if Single-Sign-On is enabled or disabled.
isTraceEnabled() - Method in class org.glassfish.embeddable.web.config.WebListenerConfig
Checks if support for TRACE requests is enabled.

J

javax.ejb.embeddable - package javax.ejb.embeddable
Defines the classes for the EJB 3.1 Embeddable API.

L

Lifecycle - Interface in org.glassfish.embeddable.web
Interface for lifecycle events.
LoginConfig - Class in org.glassfish.embeddable.web.config
The class configures the authentication related parameters like, authentication method, form login configuration, if authentication method is form based authentication, the realm name and the realm type.
LoginConfig() - Constructor for class org.glassfish.embeddable.web.config.LoginConfig
Create an instance of LoginConfig.

M

MODULES - Static variable in class javax.ejb.embeddable.EJBContainer
Standard property name for specifying the set of modules to be initialized.

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.archive - package org.glassfish.embeddable.archive
Abstraction for a scattered Java EE archive (parts disseminated in various directories).
org.glassfish.embeddable.spi - package org.glassfish.embeddable.spi
Provides classes and interfaces necessary to plugin a custom GlassFish runtime.
org.glassfish.embeddable.web - package org.glassfish.embeddable.web
Provides classes and interfaces necessary to programmatically configure embedded WebContainer and create contexts, virtual servers, and web listeners.
org.glassfish.embeddable.web.config - package org.glassfish.embeddable.web.config
Provides classes to configure embedded WebContainer.

P

PROVIDER - Static variable in class javax.ejb.embeddable.EJBContainer
Standard property name for specifying the embeddable container implementation bootstrap class.

R

RealmType - Enum in org.glassfish.embeddable.web.config
An Enumeration of supported realm types
removeContext(Context) - Method in interface org.glassfish.embeddable.web.VirtualServer
Stops the given context and removes it from this VirtualServer.
removeContext(Context) - Method in interface org.glassfish.embeddable.web.WebContainer
Stops the given Context and removes it from all VirtualServer.
removeVirtualServer(VirtualServer) - Method in interface org.glassfish.embeddable.web.WebContainer
Stops the given virtualServer and removes it from this WebContainer.
removeWebListener(WebListener) - Method in interface org.glassfish.embeddable.web.WebContainer
Stops the given webListener and removes it from this WebContainer.
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

ScatteredArchive - Class in org.glassfish.embeddable.archive
Abstraction for a Scattered Java EE module (parts disseminated in various directories).
ScatteredArchive(String, ScatteredArchive.Type) - Constructor for class org.glassfish.embeddable.archive.ScatteredArchive
Construct a new empty scattered archive.
ScatteredArchive(String, ScatteredArchive.Type, File) - Constructor for class org.glassfish.embeddable.archive.ScatteredArchive
Construct a new scattered archive with all the contents from the rootDirectory.
ScatteredArchive.Type - Enum in org.glassfish.embeddable.archive
Enumeration values for the scattered Java EE module types.
ScatteredEnterpriseArchive - Class in org.glassfish.embeddable.archive
Abstraction for a Scattered Java EE Application.
ScatteredEnterpriseArchive(String) - Constructor for class org.glassfish.embeddable.archive.ScatteredEnterpriseArchive
Construct a new scattered enterprise archive.
SecurityConfig - Class in org.glassfish.embeddable.web.config
Class through which the security related parameters for a context may be configured.
SecurityConfig() - Constructor for class org.glassfish.embeddable.web.config.SecurityConfig
Create an instance of SecurityConfig
SecurityConstraint - Class in org.glassfish.embeddable.web.config
Class used for configuring security constraints including Web Resource Collections (URL patterns, HTTP methods), Authorization Constraint (role names) and User Data Constraints (whether the web request needs to be received over a protected transport such as TLS).
SecurityConstraint() - Constructor for class org.glassfish.embeddable.web.config.SecurityConstraint
Create an instance of SecurityConstraint
setAccessLoggingEnabled(boolean) - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Enables or disables access logging.
setAlgorithms(Set<SslType>) - Method in class org.glassfish.embeddable.web.config.SslConfig
Sets the algorithm
setAllowLinking(boolean) - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Enables or disables the serving of resources that are symbolic links.
setAllowRemoteAddress(String) - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Sets the comma-separated list of regular expression patterns that the remote client's IP address is compared to.
setAllowRemoteHost(String) - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Sets the comma-separated list of regular expression patterns that the remote client's hostname (as returned by java.net.Socket.getInetAddress().getHostName()) is compared to.
setAuthConstraint(String...) - Method in class org.glassfish.embeddable.web.config.SecurityConstraint
Sets the roles authorized to access the URL patterns and HTTP methods
setAuthMethod(AuthMethod) - Method in class org.glassfish.embeddable.web.config.LoginConfig
Set the authentication scheme to be used for a given context
setConfig(VirtualServerConfig) - Method in interface org.glassfish.embeddable.web.VirtualServer
Reconfigures this VirtualServer with the given configuration.
setConfig(WebListenerConfig) - Method in interface org.glassfish.embeddable.web.WebListener
Reconfigures this WebListener with the given configuration.
setConfig(WebListenerConfig) - Method in class org.glassfish.embeddable.web.WebListenerBase
Reconfigures this WebListener with the given configuration.
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.
setConfiguration(WebContainerConfig) - Method in interface org.glassfish.embeddable.web.WebContainer
Sets the embedded configuration for this embedded instance.
setContextXmlDefault(String) - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Sets the location of the default context.xml configuration file.
setDefaultWebXml(String) - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Sets the location of the default web.xml configuration file.
setDefaultWebXml(URL) - Method in class org.glassfish.embeddable.web.config.WebContainerConfig
Sets the default web xml
setDefaultWebXml(String) - Method in interface org.glassfish.embeddable.web.Context
Set the location of the default web xml that will be used.
setDenyRemoteAddress(String) - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Sets the comma-separated list of regular expression patterns that the remote client's IP address is compared to.
setDenyRemoteHost(String) - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Sets the comma-separated list of regular expression patterns that the remote client's hostname (as returned by java.net.Socket.getInetAddress().getHostName()) is compared to.
setDirectoryListing(boolean) - Method in interface org.glassfish.embeddable.web.Context
Enables or disables directory listings on this Context.
setDocRoot(File) - Method in interface org.glassfish.embeddable.web.VirtualServer
Sets the docroot of this VirtualServer.
setDocRootDir(File) - Method in class org.glassfish.embeddable.web.config.WebContainerConfig
Sets the docroot directory
setFormLoginConfig(FormLoginConfig) - Method in class org.glassfish.embeddable.web.config.LoginConfig
Set the form login configuration, if the authentication method is form based authentication
setHandshakeTimeout(long) - Method in class org.glassfish.embeddable.web.config.SslConfig
Sets the timeout
setHostNames(String) - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Sets the host names that will be assigned to any VirtualServer configured via this VirtualServerConfig separated by commas.
setHostNames(String) - Method in class org.glassfish.embeddable.web.config.WebContainerConfig
Sets the host names of the default VirtualServer (default: localhost).
setHttpMethodOmissions(Set<String>) - Method in class org.glassfish.embeddable.web.config.WebResourceCollection
Sets the HTTP methods to be omitted from protection
setHttpMethods(Set<String>) - Method in class org.glassfish.embeddable.web.config.WebResourceCollection
Sets the HTTP methods that should be protected
setId(String) - Method in class org.glassfish.embeddable.web.config.WebListenerConfig
Sets the id used for configuring WebListener.
setID(String) - Method in interface org.glassfish.embeddable.web.VirtualServer
Sets the id of this VirtualServer.
setId(String) - Method in interface org.glassfish.embeddable.web.WebListener
Sets the id for this WebListener.
setId(String) - Method in class org.glassfish.embeddable.web.WebListenerBase
Sets the id for this WebListener.
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.
setKeyPassword(String) - Method in class org.glassfish.embeddable.web.config.SslConfig
Sets the password of the keystore file
setKeyStore(String) - Method in class org.glassfish.embeddable.web.config.SslConfig
Sets the location of the keystore file
setListenerName(String) - Method in class org.glassfish.embeddable.web.config.WebContainerConfig
Sets the default listener name
setListings(boolean) - Method in class org.glassfish.embeddable.web.config.WebContainerConfig
Enables or disables directory listings
setLoginConfig(LoginConfig) - Method in class org.glassfish.embeddable.web.config.SecurityConfig
Configures the login related configuration for the context
setLogLevel(Level) - Method in interface org.glassfish.embeddable.web.WebContainer
Sets log level
setName(String) - Method in class org.glassfish.embeddable.web.config.WebResourceCollection
Sets the name of this collection
setPath(String) - Method in interface org.glassfish.embeddable.web.Context
Set the context path for this Context.
setPort(String, int) - Method in class org.glassfish.embeddable.GlassFishProperties
Set the port number for a network listener that the GlassFish server should use.
setPort(int) - Method in class org.glassfish.embeddable.web.config.WebContainerConfig
Sets the port of the default WebListener (default: 8080).
setPort(int) - Method in class org.glassfish.embeddable.web.config.WebListenerConfig
Sets the port number used for configuring WebListener.
setPort(int) - Method in interface org.glassfish.embeddable.web.WebListener
Sets the port number for this WebListener.
setPort(int) - Method in class org.glassfish.embeddable.web.WebListenerBase
Sets the port number for this WebListener.
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.
setProtocol(String) - Method in class org.glassfish.embeddable.web.config.WebListenerConfig
Sets the protocol used for configuring WebListener.
setProtocol(String) - Method in interface org.glassfish.embeddable.web.WebListener
Sets the protocol for this WebListener.
setProtocol(String) - Method in class org.glassfish.embeddable.web.WebListenerBase
Sets the protocol which will be used by this WebListener.
setRealmName(String) - Method in class org.glassfish.embeddable.web.config.LoginConfig
Sets the realm name to be used for the context
setRealmType(RealmType) - Method in class org.glassfish.embeddable.web.config.LoginConfig
Sets the realm type for the context.
setSecurityConfig(SecurityConfig) - Method in interface org.glassfish.embeddable.web.Context
Set the security related configuration for this context
setSecurityConstraints(Set<SecurityConstraint>) - Method in class org.glassfish.embeddable.web.config.SecurityConfig
Set the security constraints for a context.
setSslConfig(SslConfig) - Method in class org.glassfish.embeddable.web.HttpsListener
Sets the SSL configuration for this web listener
setSsoEnabled(boolean) - Method in class org.glassfish.embeddable.web.config.VirtualServerConfig
Enables or disables Single-Sign-On.
setTerse(boolean) - Method in interface org.glassfish.embeddable.CommandRunner
Set the terse level.
setTraceEnabled(boolean) - Method in class org.glassfish.embeddable.web.config.WebListenerConfig
Enables or disables support for TRACE requests.
setTrustStore(File) - Method in class org.glassfish.embeddable.web.config.SslConfig
Sets the location of the truststore file
setUrlPatterns(Set<String>) - Method in class org.glassfish.embeddable.web.config.WebResourceCollection
Sets the url patterns that correspond to this web resource
setUserDataConstraint(TransportGuarantee) - Method in class org.glassfish.embeddable.web.config.SecurityConstraint
Sets the requirement that the constrained requests be received over a protected transport layer connection.
setVirtualServerId(String) - Method in class org.glassfish.embeddable.web.config.WebContainerConfig
Sets the id of the default VirtualServer (default: server).
setWebResourceCollection(Set<WebResourceCollection>) - Method in class org.glassfish.embeddable.web.config.SecurityConstraint
Sets the web resource collection associated with this security constrint
shutdown() - Method in class org.glassfish.embeddable.GlassFishRuntime
Shuts down the Runtime and dispose off all the GlassFish objects created via this Runtime
SslConfig - Class in org.glassfish.embeddable.web.config
Class used to configure SSL processing parameters
SslConfig() - Constructor for class org.glassfish.embeddable.web.config.SslConfig
Create an instance of SslConfig.
SslType - Enum in org.glassfish.embeddable.web.config
Class used to define ssl protocol variants
start() - Method in interface org.glassfish.embeddable.GlassFish
Start GlassFish.
stop() - Method in interface org.glassfish.embeddable.GlassFish
Stop GlassFish.

T

toURI() - Method in class org.glassfish.embeddable.archive.ScatteredArchive
Get the deployable URI for this scattered archive.
toURI() - Method in class org.glassfish.embeddable.archive.ScatteredEnterpriseArchive
Get the deployable URI for this scattered enterprise archive.
TransportGuarantee - Enum in org.glassfish.embeddable.web.config
Enumeration of supported transport

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 org.glassfish.embeddable.archive.ScatteredArchive.Type
Returns the enum constant of this type with the specified name.
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.
valueOf(String) - Static method in enum org.glassfish.embeddable.web.config.AuthMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.embeddable.web.config.RealmType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.embeddable.web.config.SslType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.embeddable.web.config.TransportGuarantee
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.glassfish.embeddable.archive.ScatteredArchive.Type
Returns an array containing the constants of this enum type, in the order they are declared.
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.
values() - Static method in enum org.glassfish.embeddable.web.config.AuthMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.embeddable.web.config.RealmType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.embeddable.web.config.SslType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.embeddable.web.config.TransportGuarantee
Returns an array containing the constants of this enum type, in the order they are declared.
VirtualServer - Interface in org.glassfish.embeddable.web
Representation of a virtual server.
VirtualServerConfig - Class in org.glassfish.embeddable.web.config
Class used for configuring VirtualServer instances.
VirtualServerConfig() - Constructor for class org.glassfish.embeddable.web.config.VirtualServerConfig
 

W

WebContainer - Interface in org.glassfish.embeddable.web
Class representing an embedded web container, which supports the programmatic creation of different types of web protocol listeners and virtual servers, and the registration of static and dynamic web resources into the URI namespace.
WebContainerConfig - Class in org.glassfish.embeddable.web.config
Class that is used for configuring WebContainer instances.
WebContainerConfig() - Constructor for class org.glassfish.embeddable.web.config.WebContainerConfig
 
WebListener - Interface in org.glassfish.embeddable.web
Representation of a network listener for web requests.
WebListenerBase - Class in org.glassfish.embeddable.web
Base implementation of the WebListener interface
WebListenerBase() - Constructor for class org.glassfish.embeddable.web.WebListenerBase
 
WebListenerConfig - Class in org.glassfish.embeddable.web.config
Class that is used for configuring WebListener instances.
WebListenerConfig() - Constructor for class org.glassfish.embeddable.web.config.WebListenerConfig
 
WebResourceCollection - Class in org.glassfish.embeddable.web.config
This class represents a list of URL patterns and HTTP methods that describe a set of Web resources to be protected.
WebResourceCollection() - Constructor for class org.glassfish.embeddable.web.config.WebResourceCollection
 

A B C D E F G H I J L M N O P R S T U V W