Package com.sun.enterprise.v3.admin
Class PublicAdminAdapter
- java.lang.Object
-
- org.glassfish.grizzly.http.server.HttpHandler
-
- org.glassfish.grizzly.http.server.StaticHttpHandlerBase
-
- org.glassfish.grizzly.http.server.StaticHttpHandler
-
- com.sun.enterprise.v3.admin.AdminAdapter
-
- com.sun.enterprise.v3.admin.PublicAdminAdapter
-
- All Implemented Interfaces:
Adapter
,EventListener
,org.glassfish.hk2.api.PostConstruct
@Service public class PublicAdminAdapter extends AdminAdapter
Adapter for public administrative commands.- Author:
- Jerome Dochez
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.glassfish.api.event.EventListener
EventListener.Event<T>
-
-
Field Summary
Fields Modifier and Type Field Description static String
PREFIX_URI
static String
VS_NAME
-
Fields inherited from class com.sun.enterprise.v3.admin.AdminAdapter
ASADMIN_PATH, MAX_AGE, SESSION_COOKIE_NAME
-
-
Constructor Summary
Constructors Constructor Description PublicAdminAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContextRoot()
Returns the context root for this adapterprotected boolean
validatePrivacy(AdminCommand command)
-
Methods inherited from class com.sun.enterprise.v3.admin.AdminAdapter
afterService, authenticate, createSessionId, event, fireAdapterEvent, getCookieHeader, getHttpService, getJSESSIONIDHeaders, getListenAddress, getListenPort, getUserPassword, getVirtualServers, hasCookieHeader, isRegistered, isSingleInstanceCommand, onMissingResource, postConstruct, setRegistered
-
Methods inherited from class org.glassfish.grizzly.http.server.StaticHttpHandler
addDocRoot, addDocRoot, getDefaultDocRoot, getDocRoots, handle, isDirectorySlashOff, removeDocRoot, setDirectorySlashOff
-
Methods inherited from class org.glassfish.grizzly.http.server.StaticHttpHandlerBase
addCachingHeaders, addToFileCache, getRelativeURI, isFileCacheEnabled, lookupFileCache, pickupContentType, sendFile, service, setFileCacheEnabled
-
Methods inherited from class org.glassfish.grizzly.http.server.HttpHandler
destroy, getErrorPageGenerator, getName, getRequestExecutorProvider, getRequestURIEncoding, getSessionCookieName, getSessionManager, isAllowCustomStatusMessage, isAllowEncodedSlash, sendAcknowledgment, setAllowCustomStatusMessage, setAllowEncodedSlash, setDecodeUrl, setDispatcherHelper, setRequestURIEncoding, setRequestURIEncoding, start, updatePaths
-
-
-
-
Field Detail
-
VS_NAME
public static final String VS_NAME
- See Also:
- Constant Field Values
-
PREFIX_URI
public static final String PREFIX_URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
getContextRoot
public String getContextRoot()
Description copied from interface:Adapter
Returns the context root for this adapter- Returns:
- context root
-
validatePrivacy
protected boolean validatePrivacy(AdminCommand command)
- Specified by:
validatePrivacy
in classAdminAdapter
-
-