public class WebAppProxyServer extends CompositeService
CompositeService.CompositeServiceShutdownHook
Service.STATE
Modifier and Type | Field and Description |
---|---|
static int |
SHUTDOWN_HOOK_PRIORITY
Priority of the ResourceManager shutdown hook.
|
STOP_ONLY_STARTED_SERVICES
Constructor and Description |
---|
WebAppProxyServer() |
Modifier and Type | Method and Description |
---|---|
protected void |
doSecureLogin(Configuration conf)
Log in as the Kerberose principal designated for the proxy
|
static void |
main(String[] args) |
protected void |
serviceInit(Configuration conf)
All initialization code needed by a service.
|
addIfService, addService, getServices, removeService, serviceStart, serviceStop
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
public static final int SHUTDOWN_HOOK_PRIORITY
protected void serviceInit(Configuration conf) throws Exception
AbstractService
AbstractService.init(Configuration)
prevents re-entrancy.
The base implementation checks to see if the subclass has created
a new configuration instance, and if so, updates the base class valueserviceInit
in class CompositeService
conf
- configurationException
- on a failure -these will be caught,
possibly wrapped, and wil; trigger a service stopprotected void doSecureLogin(Configuration conf) throws IOException
conf
- the configuration holding this information in it.IOException
- on any error.public static void main(String[] args)
Copyright © 2013 Apache Software Foundation. All rights reserved.