public UnitOfWork getUnitOfWork() throws ServiceException {
if (this.unitOfWork == null) {
if (getLogger().isDebugEnabled())
getLogger().debug("OperationModule.getUnitOfWork() does not yet have instance.");
this.unitOfWork = new UnitOfWorkImpl();
this.unitOfWork.setIdentityMap(getDocumentIdentityMap());
}
return this.unitOfWork;
}