|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PersistenceService
This is the main control to the entire persistence engine. Before calling any other method
of either UnitOfWork, EntityManagerProvider, or any method annotated with
@Transactional the persistence service must be started.
| Method Summary | |
|---|---|
boolean |
isRunning()
|
void |
start()
Starts the underlying persistence engine and makes onami-persist ready for use. |
void |
stop()
Stops the underlying persistence engine. |
| Method Detail |
|---|
void start()
PersistenceFilter will call this
method upon initialization of the web application.
IllegalStateException - if the service is already running.boolean isRunning()
true if the underlying persistence engine is running.
false otherwise.void stop()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||