public abstract class DaemonMain extends Object
| Constructor and Description |
|---|
DaemonMain() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
destroy()
Invoked by jsvc for resource cleanup.
|
protected void |
doMain(String[] args)
The main method.
|
abstract void |
init(String[] args)
Invoked by jsvc to initialize the program.
|
abstract void |
start()
Invoked by jsvc to start the program.
|
abstract void |
stop()
Invoked by jsvc to stop the program.
|
protected void doMain(String[] args) throws Exception
Exceptionpublic abstract void init(String[] args)
public abstract void start()
public abstract void stop()
public abstract void destroy()
Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.