Class PrivilegedRegistryDNSStarter
java.lang.Object
org.apache.hadoop.registry.server.dns.PrivilegedRegistryDNSStarter
- All Implemented Interfaces:
org.apache.commons.daemon.Daemon
public class PrivilegedRegistryDNSStarter
extends Object
implements org.apache.commons.daemon.Daemon
This class is used to allow the RegistryDNSServer to run on a privileged
port (e.g. 53).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PrivilegedRegistryDNSStarter
public PrivilegedRegistryDNSStarter()
-
-
Method Details
-
init
- Specified by:
initin interfaceorg.apache.commons.daemon.Daemon- Throws:
Exception
-
start
- Specified by:
startin interfaceorg.apache.commons.daemon.Daemon- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.apache.commons.daemon.Daemon- Throws:
Exception
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.apache.commons.daemon.Daemon
-