public class RepositoryFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RepositoryFactory.StoreType |
| Modifier and Type | Field and Description |
|---|---|
private ExecutorService |
executorService |
private org.apache.jackrabbit.oak.segment.file.FileStore |
fileStore |
private org.slf4j.Logger |
log |
private org.apache.jackrabbit.oak.spi.state.NodeStore |
nodeStore |
private Path |
repositoryPath |
private RepositoryFactory.StoreType |
storeType |
| Constructor and Description |
|---|
RepositoryFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
private void |
createExecutor() |
javax.jcr.Repository |
createRepository() |
Path |
getRepositoryPath() |
RepositoryFactory.StoreType |
getStoreType() |
void |
setRepositoryPath(Path repositoryPath) |
void |
setRepositoryPath(String repositoryPath) |
void |
setStoreType(RepositoryFactory.StoreType storeType) |
private org.slf4j.Logger log
private org.apache.jackrabbit.oak.segment.file.FileStore fileStore
private org.apache.jackrabbit.oak.spi.state.NodeStore nodeStore
private ExecutorService executorService
private RepositoryFactory.StoreType storeType
private Path repositoryPath
public RepositoryFactory()
public javax.jcr.Repository createRepository() throws IOException, org.apache.jackrabbit.oak.segment.file.InvalidFileStoreVersionException
IOExceptionorg.apache.jackrabbit.oak.segment.file.InvalidFileStoreVersionExceptionpublic void close()
public RepositoryFactory.StoreType getStoreType()
public void setStoreType(RepositoryFactory.StoreType storeType)
public Path getRepositoryPath()
public void setRepositoryPath(Path repositoryPath)
public void setRepositoryPath(String repositoryPath)
private void createExecutor()
Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.