public class UnitOfWork extends Object implements Closeable
| Constructor and Description |
|---|
UnitOfWork(UnitOfWorkFactory unitOfWorkFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stop the unit of work, delegates to
UnitOfWorkFactory.stop(). |
void |
restart()
Restart the unit of work, delegates to
UnitOfWorkFactory.restart(). |
public UnitOfWork(UnitOfWorkFactory unitOfWorkFactory)
public void close()
UnitOfWorkFactory.stop().close in interface Closeableclose in interface AutoCloseablepublic void restart()
UnitOfWorkFactory.restart().Copyright © 2020. All rights reserved.