|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.extensions.jcr.RepositoryFactoryBean
public abstract class RepositoryFactoryBean
Base class with common functionality for creating JCR repositories. Subclasses should extend this class for custom configuration.
| Field Summary | |
|---|---|
protected org.springframework.core.io.Resource |
configuration
Repository configuration. |
protected javax.jcr.Repository |
repository
The actual repository. |
| Constructor Summary | |
|---|---|
RepositoryFactoryBean()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
protected abstract javax.jcr.Repository |
createRepository()
Subclasses have to implement this method to allow specific JSR-170 implementation repository creation. |
void |
destroy()
|
org.springframework.core.io.Resource |
getConfiguration()
|
java.lang.Object |
getObject()
|
java.lang.Class |
getObjectType()
|
boolean |
isSingleton()
|
protected abstract void |
resolveConfigurationResource()
Subclasses have to implement this method to allow specific JSR-170 implementation repository configuration. |
void |
setConfiguration(org.springframework.core.io.Resource configuration)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.springframework.core.io.Resource configuration
protected javax.jcr.Repository repository
| Constructor Detail |
|---|
public RepositoryFactoryBean()
| Method Detail |
|---|
protected abstract void resolveConfigurationResource()
throws java.lang.Exception
java.lang.Exception
protected abstract javax.jcr.Repository createRepository()
throws java.lang.Exception
java.lang.Exception
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.ExceptionInitializingBean.afterPropertiesSet()
public void destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.ExceptionDisposableBean.destroy()
public java.lang.Object getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBeanjava.lang.ExceptionFactoryBean.getObject()public java.lang.Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanFactoryBean.getObjectType()public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBeanFactoryBean.isSingleton()public org.springframework.core.io.Resource getConfiguration()
public void setConfiguration(org.springframework.core.io.Resource configuration)
configuration - The configuration to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||