Interface ServerFactory
public interface ServerFactory
Implemented by built tools, in order to fork the server process.
- 
Method Summary
Modifier and TypeMethodDescriptionvoidstartServer(ServerUtils.ProcessParameters processParameters) Starts a new server in a forked process.voidWaits for the server to start. 
- 
Method Details
- 
startServer
Starts a new server in a forked process.- Parameters:
 processParameters- the process parameters- Throws:
 IOException- in case forking fails
 - 
waitFor
Waits for the server to start.- Parameters:
 duration- the amount of time to wait- Throws:
 InterruptedException- in case the thread is interrupted
 
 -