@Service
public final class AdminConsoleAdapter
extends org.glassfish.grizzly.http.server.HttpHandler
implements org.glassfish.api.container.Adapter, org.glassfish.hk2.api.PostConstruct, org.glassfish.api.event.EventListener
system-application and is persisted as such in the domain.xml.
on demand . Hence, this adapter will always be available to
find out if application is loaded and load it in the container(s) if it is
not. If the application is already loaded, it simply exits. | Constructor and Description |
|---|
AdminConsoleAdapter()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
event(org.glassfish.api.event.EventListener.Event event) |
com.sun.enterprise.config.serverbeans.AdminService |
getAdminService() |
String |
getContextRoot() |
org.glassfish.grizzly.http.server.HttpHandler |
getHttpService() |
InetAddress |
getListenAddress() |
int |
getListenPort() |
List<String> |
getVirtualServers() |
boolean |
isRegistered()
Checks whether this adapter has been registered as a network endpoint.
|
void |
postConstruct() |
void |
service(org.glassfish.grizzly.http.server.Request req,
org.glassfish.grizzly.http.server.Response res) |
void |
setRegistered(boolean isRegistered)
Marks this adapter as having been registered or unregistered as a
network endpoint
|
customizedErrorPage, destroy, doHandle, getName, getRequestURIEncoding, isAllowCustomStatusMessage, isAllowEncodedSlash, sendAcknowledgment, setAllowCustomStatusMessage, setAllowEncodedSlash, setDecodeUrl, setDispatcherHelper, setRequestURIEncoding, setRequestURIEncoding, start, updatePathspublic AdminConsoleAdapter()
throws IOException
IOExceptionpublic String getContextRoot()
getContextRoot in interface org.glassfish.api.container.Adapterpublic final org.glassfish.grizzly.http.server.HttpHandler getHttpService()
getHttpService in interface org.glassfish.api.container.Adapterpublic void service(org.glassfish.grizzly.http.server.Request req,
org.glassfish.grizzly.http.server.Response res)
service in class org.glassfish.grizzly.http.server.HttpHandlerpublic boolean isRegistered()
isRegistered in interface org.glassfish.api.container.Adapterpublic void setRegistered(boolean isRegistered)
setRegistered in interface org.glassfish.api.container.Adapterpublic void postConstruct()
postConstruct in interface org.glassfish.hk2.api.PostConstructpublic void event(org.glassfish.api.event.EventListener.Event event)
event in interface org.glassfish.api.event.EventListenerpublic com.sun.enterprise.config.serverbeans.AdminService getAdminService()
public int getListenPort()
getListenPort in interface org.glassfish.api.container.Adapterpublic InetAddress getListenAddress()
getListenAddress in interface org.glassfish.api.container.AdapterCopyright © 2013. All Rights Reserved.