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 TypeMethodDescriptionvoid
install()
boolean
protected boolean
isPidRunning
(int pid) void
start()
protected void
stopProcesses
(boolean isStopAbandoned) void
Methods inherited from class org.jumpmind.symmetric.wrapper.UnixService
getCurrentPid, getProcessPid, getRunCommandDir, isPrivileged, killProcess, setWorkingDirectory
Methods 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, scrubCommand, shutdown, status, stop, stopProcess, updateStatus, waitForPid, writePidToFile
-
Constructor Details
-
MacService
public MacService()
-
-
Method Details
-
install
public void install()- Overrides:
install
in classUnixService
-
uninstall
public void uninstall()- Overrides:
uninstall
in classUnixService
-
isInstalled
public boolean isInstalled()- Overrides:
isInstalled
in classUnixService
-
isPidRunning
protected boolean isPidRunning(int pid) - Overrides:
isPidRunning
in classUnixService
-
stopProcesses
protected void stopProcesses(boolean isStopAbandoned) - Overrides:
stopProcesses
in classUnixService
-
start
public void start()- Overrides:
start
in classUnixService
-