|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SessionHolderProvider
SessionHolderProvider is a factory that creates a session holder for classes which require collaboration with TransactionSynchronizationManager. Because there is no standard on how to a Jcr repository participates inside transactions, each implementation has it's own support (XAResource,Transaction) which has to be wrapped in the approapriate holder.
| Method Summary | |
|---|---|
boolean |
acceptsRepository(java.lang.String repositoryName)
Method for maching the sessionHolderProvider against a repository (given by name). |
SessionHolder |
createSessionHolder(javax.jcr.Session session)
Return the specific session holder. |
| Method Detail |
|---|
SessionHolder createSessionHolder(javax.jcr.Session session)
session -
boolean acceptsRepository(java.lang.String repositoryName)
repositoryName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||