|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistenceModuleVisitor
Used to visit a PersistenceModule
and gather state that needs to be used with static methods. This
hides the only static state we need (Servlet Filters) behind
some OO goodness.
Method Summary | |
---|---|
void |
publishPersistenceService(PersistenceService persistenceService)
Publishes the module's PersistenceService
for consumption by Warp Persist's common infrastructure,
notably PersistenceFilter . |
void |
publishWorkManager(WorkManager wm)
Publishes the module's WorkManager
for consumption by Warp Persist's common infrastructure,
notably PersistenceFilter
and PersistenceFilter . |
Method Detail |
---|
void publishWorkManager(WorkManager wm)
WorkManager
for consumption by Warp Persist's common infrastructure,
notably PersistenceFilter
and PersistenceFilter
.
Only use with UnitOfWork.REQUEST
.
wm
- the WorkManager
to publishvoid publishPersistenceService(PersistenceService persistenceService)
PersistenceService
for consumption by Warp Persist's common infrastructure,
notably PersistenceFilter
.
Usually used with UnitOfWork.REQUEST
, but
technically it could make sense to use the
PersistenceFilter
with other units
of work.
persistenceService
- the PersistenceService
to publish
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |