|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.extensions.jcr.JcrAccessor
public abstract class JcrAccessor
Base class for JcrTemplate and JcrInterceptor, defining common properties like JcrSessionFactory. The required property is sessionFactory.
Not intended to be used directly. See JcrTemplate and JcrInterceptor.
JcrTemplate,
JcrInterceptor| Constructor Summary | |
|---|---|
JcrAccessor()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Eagerly initialize the session holder provider, creating a default one if one is not set. |
org.springframework.dao.DataAccessException |
convertJcrAccessException(java.io.IOException ex)
Convert the given IOException to an appropriate exception from the org.springframework.dao
hierarchy. |
org.springframework.dao.DataAccessException |
convertJcrAccessException(javax.jcr.RepositoryException ex)
Convert the given RepositoryException to an appropriate exception from the org.springframework.dao hierarchy. |
java.lang.RuntimeException |
convertJcrAccessException(java.lang.RuntimeException ex)
Convert the given RuntimeException to an appropriate exception from the org.springframework.dao hierarchy. |
SessionFactory |
getSessionFactory()
|
void |
setSessionFactory(SessionFactory sessionFactory)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JcrAccessor()
| Method Detail |
|---|
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic org.springframework.dao.DataAccessException convertJcrAccessException(javax.jcr.RepositoryException ex)
org.springframework.dao hierarchy.
May be overridden in subclasses.
ex - RepositoryException that occured
public org.springframework.dao.DataAccessException convertJcrAccessException(java.io.IOException ex)
org.springframework.dao
hierarchy.
May be overridden in subclasses.
ex - IOException that occured
public java.lang.RuntimeException convertJcrAccessException(java.lang.RuntimeException ex)
org.springframework.dao hierarchy.
May be overridden in subclasses.
ex -
public SessionFactory getSessionFactory()
public void setSessionFactory(SessionFactory sessionFactory)
sessionFactory - The sessionFactory to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||