...
I also want to thank TIB Hannover for providing a test account to the DSpace community.
Implementation details
Beside the things above I should mention that my code adds a table to the DSpace database schema. It adds a table doi in which I safe information about the DOIs that gets minted and registered with DSpace.