public final class Service extends Object
| Modifier and Type | Class and Description | 
|---|---|
class  | 
Service.Instance
Maybe use this as an interface to allow disabling/enabling and
 starting/stopping of particular instances? 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Service.Instance | 
createInstance(String name,
              File jar,
              File workingDir)  | 
void | 
deleteInstance(String name,
              long time,
              TimeUnit unit)  | 
static void | 
main(String[] args)  | 
void | 
start()  | 
void | 
stop(long time,
    TimeUnit unit)  | 
public Service.Instance createInstance(String name, File jar, File workingDir)
public void start()
           throws IOException
IOExceptionpublic void stop(long time,
                 TimeUnit unit)
public static void main(String[] args) throws IOException
IOException