| Package | Description |
|---|---|
| com.sun.enterprise.web | |
| org.glassfish.embeddable.web |
Provides classes and interfaces necessary to programmatically configure embedded WebContainer
and create contexts, virtual servers, and web listeners.
|
| org.glassfish.web.embed.impl |
| 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.setConfig(VirtualServerConfig config)
Reconfigures this VirtualServer with the given configuration.
|
void |
VirtualServerFacade.setConfig(VirtualServerConfig config)
Reconfigures this VirtualServer with the given
configuration.
|
| 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 |
WebContainer.removeContext(Context context)
Stops the given Context and removes it from all
VirtualServer.
|
void |
VirtualServer.setConfig(VirtualServerConfig config)
Reconfigures this VirtualServer with the given
configuration.
|
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 |
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.
|
Copyright © 2019. All rights reserved.