public class ModeShapeRepositoryFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<FedoraRepository>
Constructor and Description |
---|
ModeShapeRepositoryFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
buildRepository()
Generate a JCR repository from the given configuration
|
FedoraRepository |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setRepositoryConfiguration(org.springframework.core.io.Resource repositoryConfiguration)
Set the configuration to use for creating the repository
|
void |
setServerManagedPropertiesMode(String value)
Set the mode for server managed properties.
|
void |
stopRepository()
Attempts to undeploy the repository and shutdown the ModeShape engine on
context destroy.
|
public ModeShapeRepositoryFactoryBean()
@PostConstruct public void buildRepository()
@PreDestroy public void stopRepository() throws InterruptedException
InterruptedException
- if interrupted exception occurredpublic FedoraRepository getObject()
getObject
in interface org.springframework.beans.factory.FactoryBean<FedoraRepository>
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<FedoraRepository>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<FedoraRepository>
public void setRepositoryConfiguration(org.springframework.core.io.Resource repositoryConfiguration)
repositoryConfiguration
- the repository configurationpublic void setServerManagedPropertiesMode(String value)
value
- the value (must be either "strict" or "relaxed")Copyright © 2013–2018 DuraSpace, Inc.. All rights reserved.