public abstract class JcrRepositoryFactory
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<javax.jcr.Repository>
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.core.io.Resource |
configuration
Ressource contenant la configuration du depot JCR
|
protected org.apache.commons.logging.Log |
log
Loggeur
|
protected javax.jcr.Repository |
repository
Depot JCR
|
| Constructor and Description |
|---|
JcrRepositoryFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected abstract javax.jcr.Repository |
createRepository()
Methode permettant de creer un depot JCR
|
void |
destroy() |
org.springframework.core.io.Resource |
getConfiguration()
Methode permettant d'obtenir la valeur du champ "configuration"
|
javax.jcr.Repository |
getObject() |
java.lang.Class<?> |
getObjectType() |
boolean |
isSingleton() |
protected abstract void |
resolveConfigurationResource()
Methode permettant de constrire la configuration du depot
|
void |
setConfiguration(org.springframework.core.io.Resource configuration)
Methode permettant de modifier la valeur du champ "configuration"
|
protected final org.apache.commons.logging.Log log
protected org.springframework.core.io.Resource configuration
protected javax.jcr.Repository repository
protected abstract void resolveConfigurationResource()
throws java.lang.Exception
java.lang.Exception - Exception potentielleprotected abstract javax.jcr.Repository createRepository()
throws java.lang.Exception
java.lang.Exception - Exception potentiellepublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic void destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.ExceptionDisposableBean.destroy()public javax.jcr.Repository getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBean<javax.jcr.Repository>java.lang.Exceptionpublic java.lang.Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<javax.jcr.Repository>FactoryBean.getObjectType()public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<javax.jcr.Repository>public org.springframework.core.io.Resource getConfiguration()
public void setConfiguration(org.springframework.core.io.Resource configuration)
configuration - Nouvelle valeur du champ "configuration"Copyright © 2018 Kube Cloud. All Rights Reserved.