public class SecureDataNodeStarter extends Object implements org.apache.commons.daemon.Daemon
Modifier and Type | Class and Description |
---|---|
static class |
SecureDataNodeStarter.SecureResources
Stash necessary resources needed for datanode operation in a secure env.
|
Constructor and Description |
---|
SecureDataNodeStarter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
static SecureDataNodeStarter.SecureResources |
getSecureResources(SSLFactory sslFactory,
Configuration conf) |
void |
init(org.apache.commons.daemon.DaemonContext context) |
void |
start() |
void |
stop() |
public void init(org.apache.commons.daemon.DaemonContext context) throws Exception
init
in interface org.apache.commons.daemon.Daemon
Exception
public void start() throws Exception
start
in interface org.apache.commons.daemon.Daemon
Exception
public void destroy()
destroy
in interface org.apache.commons.daemon.Daemon
public void stop() throws Exception
stop
in interface org.apache.commons.daemon.Daemon
Exception
public static SecureDataNodeStarter.SecureResources getSecureResources(SSLFactory sslFactory, Configuration conf) throws Exception
Exception
Copyright © 2013 Apache Software Foundation. All rights reserved.