I'm writing a Java OSGi wrapper via sPDF and i'd like to guard against denial of server and bugs in wkhtmltopdf. I think the there should be some defensive elements to the API.
The PDF Class could do with a run method that returns a handle to the Process object to enable a watchdog to kill the process.
Additionally Future and watchdog implementations would be handy.