class DefaultUnitOfWorkManager implements UnitOfWorkManager {

    @Override
    public UnitOfWork currentUnitOfWork() {
        UnitOfWork unit = currentUnitOfWork.get();
        
        if (unit == null) {
            return fallbackUnitOfWork;
        }
        return unit;
    }

    public  DefaultUnitOfWorkManager(UnitOfWorkFactory factory);
    public  DefaultUnitOfWorkManager(UnitOfWork fallbackUnitOfWork, UnitOfWorkFactory factory);

}