public class ModeShapeRepositoryFactoryBean
extends java.lang.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() |
java.lang.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.
|
@PostConstruct
public void buildRepository()
throws java.lang.Exception
java.lang.Exception@PreDestroy
public void stopRepository()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic org.modeshape.jcr.JcrRepository getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<org.modeshape.jcr.JcrRepository>public java.lang.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.