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
|
void |
stopRepository()
Attempts to undeploy the repository and shutdown the ModeShape engine on
context destroy.
|
public ModeShapeRepositoryFactoryBean()
@PostConstruct public void buildRepository() throws Exception
Exception@PreDestroy public void stopRepository() throws InterruptedException
InterruptedExceptionpublic org.modeshape.jcr.JcrRepository getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<org.modeshape.jcr.JcrRepository>public 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-2014 DuraSpace, Inc.. All Rights Reserved.