|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.web.ServiceManager
public class ServiceManager
Handles installation and uninstallation of I2P as a service.
Constructor Summary | |
---|---|
ServiceManager()
|
Method Summary | |
---|---|
java.lang.String |
installService()
Invokes the service wrapper installation script via a shell process. |
java.lang.String |
uninstallService()
Invokes the service wrapper uninstallation script via a shell process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceManager()
Method Detail |
---|
public java.lang.String installService()
null
if the installation was successful, otherwise
a String
containing the shell output including error
messages is returned.public java.lang.String uninstallService()
null
if the uninstallation was successful, otherwise
a String
containing the shell output including error
messages is returned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |