> Singletons should be used with caution and I don't think we want one
> here, PDFBox would not be able to be used in a multi-threaded server
> environment, which is currently the case.  
I've the same concerns about singletons in multi-threaded environments.
There are a lot of situations which are suitable for this idea, but in
this case it possibly won't work without a lot of changes to the code.
But at this point this question is history, you've already found an
easier and obviously working solution.:-)

Andreas Lehmkühler

Reply via email to