| Package | Description |
|---|---|
| com.sun.enterprise.admin.cli.embeddable | |
| com.sun.enterprise.glassfish.bootstrap | |
| com.sun.enterprise.glassfish.bootstrap.osgi | |
| com.sun.enterprise.web | |
| fish.payara.micro.boot.runtime | |
| org.glassfish.ant.embedded.tasks | |
| org.glassfish.embeddable |
Provides classes and interfaces necessary to embed GlassFish and perform
lifecycle operations, application deployments and runtime configurations.
|
| org.glassfish.embeddable.spi |
Provides classes and interfaces necessary to plugin a custom GlassFish runtime.
|
| 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 |
Provides classes to configure embedded WebContainer.
|
| org.glassfish.web.embed.impl |
| Modifier and Type | Method and Description |
|---|---|
String |
DeployerImpl.deploy(File file,
String... params) |
String |
DeployerImpl.deploy(InputStream is,
String... params) |
String |
DeployerImpl.deploy(URI archive,
String... params) |
Collection<String> |
DeployerImpl.getDeployedApplications() |
void |
DeployerImpl.undeploy(String appName,
String... params) |
| Modifier and Type | Method and Description |
|---|---|
GlassFishRuntime |
StaticGlassFishRuntimeBuilder.build(BootstrapProperties bsProps) |
void |
Configurator.configure(Properties props) |
void |
GlassFishDecorator.dispose() |
void |
GlassFishImpl.dispose() |
CommandRunner |
GlassFishDecorator.getCommandRunner() |
CommandRunner |
GlassFishImpl.getCommandRunner() |
Deployer |
GlassFishDecorator.getDeployer() |
Deployer |
GlassFishImpl.getDeployer() |
<T> T |
GlassFishDecorator.getService(Class<T> serviceType) |
<T> T |
GlassFishImpl.getService(Class<T> serviceType) |
<T> T |
GlassFishDecorator.getService(Class<T> serviceType,
String serviceName) |
<T> T |
GlassFishImpl.getService(Class<T> serviceType,
String serviceName) |
GlassFish.Status |
GlassFishDecorator.getStatus() |
GlassFish |
StaticGlassFishRuntime.newGlassFish(GlassFishProperties glassFishProperties)
Creates a new GlassFish instance and add it to a Map of instances
created by this runtime.
|
GlassFish |
GlassFishRuntimeDecorator.newGlassFish(GlassFishProperties glassfishProperties) |
void |
StaticGlassFishRuntime.shutdown() |
void |
GlassFishRuntimeDecorator.shutdown() |
void |
GlassFishDecorator.start() |
void |
GlassFishImpl.start() |
void |
GlassFishDecorator.stop() |
void |
GlassFishImpl.stop() |
| Constructor and Description |
|---|
GlassFishImpl(com.sun.enterprise.module.bootstrap.ModuleStartup gfKernel,
org.glassfish.hk2.api.ServiceLocator habitat,
Properties gfProps) |
| Modifier and Type | Method and Description |
|---|---|
GlassFishRuntime |
OSGiGlassFishRuntimeBuilder.build(BootstrapProperties bsProps) |
GlassFishRuntime |
EmbeddedOSGiGlassFishRuntimeBuilder.build(BootstrapProperties bootstrapProperties) |
protected GlassFish |
EmbeddedOSGiGlassFishRuntime.createGlassFish(com.sun.enterprise.module.bootstrap.ModuleStartup gfKernel,
org.glassfish.hk2.api.ServiceLocator habitat,
Properties gfProps) |
GlassFish |
EmbeddedOSGiGlassFishRuntime.newGlassFish(GlassFishProperties gfProps) |
GlassFish |
OSGiGlassFishRuntime.newGlassFish(GlassFishProperties glassfishProperties) |
void |
EmbeddedOSGiGlassFishRuntime.shutdown() |
void |
OSGiGlassFishRuntime.shutdown() |
void |
EmbeddedOSGiGlassFishImpl.start() |
void |
EmbeddedOSGiGlassFishImpl.stop() |
| Modifier and Type | Method and Description |
|---|---|
void |
VirtualServer.addContext(Context context,
String contextRoot)
Registers the given Context with this VirtualServer at the given context root.
|
void |
VirtualServerFacade.addContext(Context context,
String contextRoot)
Registers the given Context with this VirtualServer
at the given context root.
|
void |
VirtualServer.removeContext(Context context)
Stops the given context and removes it from this VirtualServer.
|
void |
VirtualServerFacade.removeContext(Context context)
Stops the given context and removes it from this
VirtualServer.
|
| Modifier and Type | Method and Description |
|---|---|
GlassFishRuntime |
PayaraMicroRuntimeBuilder.build(BootstrapProperties options) |
void |
MicroGlassFish.dispose() |
CommandRunner |
MicroGlassFish.getCommandRunner() |
Deployer |
MicroGlassFish.getDeployer() |
<T> T |
MicroGlassFish.getService(Class<T> serviceType) |
<T> T |
MicroGlassFish.getService(Class<T> serviceType,
String serviceName) |
GlassFish.Status |
MicroGlassFish.getStatus() |
GlassFish |
MicroGlassFishRuntime.newGlassFish(GlassFishProperties glassfishProperties) |
void |
MicroGlassFishRuntime.shutdown() |
void |
MicroGlassFish.start() |
void |
MicroGlassFish.stop() |
| Modifier and Type | Method and Description |
|---|---|
static void |
Util.disposeGlassFish(String serverID) |
static GlassFish |
Util.startGlassFish(String serverID,
String installRoot,
String instanceRoot,
String configFileURI,
boolean configFileReadOnly,
int httpPort) |
| Modifier and Type | Method and Description |
|---|---|
static GlassFishRuntime |
GlassFishRuntime.bootstrap()
Bootstrap a GlassFishRuntime with default
BootstrapProperties. |
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()
Create a new instance of GlassFish with default
GlassFishProperties |
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. |
| Modifier and Type | Method and Description |
|---|---|
GlassFishRuntime |
RuntimeBuilder.build(BootstrapProperties options)
Builds a custom GlassFishRuntime with the supplied bootstrap options
|
| Modifier and Type | Method and Description |
|---|---|
void |
VirtualServer.addContext(Context context,
String contextRoot)
Registers the given Context with this VirtualServer
at the given context root.
|
void |
WebContainer.addContext(Context context,
String contextRoot)
Registers the given Context with all VirtualServer
at the given context root.
|
void |
WebContainer.addVirtualServer(VirtualServer virtualServer)
Adds the given VirtualServer to this
WebContainer.
|
void |
WebContainer.addWebListener(WebListener webListener)
Adds the given WebListener to this
WebContainer.
|
void |
Lifecycle.disable()
Disables this component.
|
void |
Lifecycle.enable()
Enables this component.
|
void |
VirtualServer.removeContext(Context context)
Stops the given context and removes it from this
VirtualServer.
|
void |
WebContainer.removeContext(Context context)
Stops the given Context and removes it from all
VirtualServer.
|
void |
WebContainer.removeVirtualServer(VirtualServer virtualServer)
Stops the given virtualServer and removes it from this
WebContainer.
|
void |
WebContainer.removeWebListener(WebListener webListener)
Stops the given webListener and removes it from this
WebContainer.
|
void |
WebListener.setConfig(WebListenerConfig config)
Reconfigures this WebListener with the given
configuration.
|
void |
WebListenerBase.setConfig(WebListenerConfig config)
Reconfigures this WebListener with the given
configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WebResourceCollection.setHttpMethodOmissions(Set<String> httpMethodOmissions)
Sets the HTTP methods to be omitted from protection
|
void |
WebResourceCollection.setHttpMethods(Set<String> httpMethods)
Sets the HTTP methods that should be protected
|
| Modifier and Type | Method and Description |
|---|---|
void |
WebContainerImpl.addContext(Context context,
String contextRoot)
Registers the given Context with all VirtualServer
at the given context root.
|
void |
WebContainerImpl.addVirtualServer(VirtualServer virtualServer)
Adds the given VirtualServer to this
WebContainer.
|
void |
WebContainerImpl.addWebListener(WebListener webListener)
Adds the given WebListener to this
WebContainer.
|
void |
WebContainerImpl.removeContext(Context context)
Stops the given Context and removes it from all
VirtualServer.
|
void |
WebContainerImpl.removeVirtualServer(VirtualServer virtualServer)
Stops the given virtualServer and removes it from this
WebContainer.
|
void |
WebContainerImpl.removeWebListener(WebListener webListener)
Stops the given webListener and removes it from this
WebContainer.
|
Copyright © 2019. All rights reserved.