Package org.jumpmind.symmetric.wrapper
Class MacService
java.lang.Object
org.jumpmind.symmetric.wrapper.WrapperService
org.jumpmind.symmetric.wrapper.UnixService
org.jumpmind.symmetric.wrapper.MacService
-
Field Summary
Fields inherited from class org.jumpmind.symmetric.wrapper.WrapperService
child, config, keepRunning -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinstall()booleanprotected booleanisPidRunning(int pid) voidstart()protected voidstopProcesses(boolean isStopAbandoned) voidMethods inherited from class org.jumpmind.symmetric.wrapper.UnixService
getCurrentPid, getProcessPid, getRunCommandDir, isPrivileged, killProcess, setWorkingDirectoryMethods inherited from class org.jumpmind.symmetric.wrapper.WrapperService
commandToString, console, deletePidFile, execJava, getConfig, getInstance, getServerPid, getWrapperCommand, getWrapperCommandQuote, getWrapperPid, init, initEnvironment, isRunning, loadConfig, readPidFromFile, relaunchAsPrivileged, restart, shutdown, status, stop, stopProcess, updateStatus, waitForPid, writePidToFile
-
Constructor Details
-
MacService
public MacService()
-
-
Method Details
-
install
public void install()- Overrides:
installin classUnixService
-
uninstall
public void uninstall()- Overrides:
uninstallin classUnixService
-
isInstalled
public boolean isInstalled()- Overrides:
isInstalledin classUnixService
-
isPidRunning
protected boolean isPidRunning(int pid) - Overrides:
isPidRunningin classUnixService
-
stopProcesses
protected void stopProcesses(boolean isStopAbandoned) - Overrides:
stopProcessesin classUnixService
-
start
public void start()- Overrides:
startin classUnixService
-