public class ModeShapeRepositoryFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<org.modeshape.jcr.JcrRepository>
| Constructor and Description |
|---|
ModeShapeRepositoryFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildRepository()
Generate a JCR repository from the given configuration
|
org.modeshape.jcr.JcrRepository |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setRepositoryConfiguration(org.springframework.core.io.Resource repositoryConfiguration)
Set the configuration to use for creating the repository
|
@PostConstruct public void buildRepository() throws javax.jcr.RepositoryException, IOException
javax.jcr.RepositoryExceptionIOExceptionpublic org.modeshape.jcr.JcrRepository getObject()
throws javax.jcr.RepositoryException,
IOException
getObject in interface org.springframework.beans.factory.FactoryBean<org.modeshape.jcr.JcrRepository>javax.jcr.RepositoryExceptionIOExceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<org.modeshape.jcr.JcrRepository>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<org.modeshape.jcr.JcrRepository>public void setRepositoryConfiguration(org.springframework.core.io.Resource repositoryConfiguration)
repositoryConfiguration - Copyright © 2013 DuraSpace, Inc.. All Rights Reserved.