@Service(value="repositorySessionFactory#jcr") public class JcrRepositorySessionFactory extends AbstractRepositorySessionFactory implements RepositorySessionFactory
Constructor and Description |
---|
JcrRepositorySessionFactory() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
RepositorySession |
createSession() |
JcrMetadataRepository |
getMetadataRepository() |
MetadataService |
getMetadataService() |
protected void |
initialize() |
void |
setMetadataResolver(MetadataResolver metadataResolver) |
void |
setMetadataService(MetadataService metadataService) |
protected void |
shutdown() |
isOpen, open
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isOpen, open
public JcrRepositorySessionFactory()
public RepositorySession createSession() throws MetadataRepositoryException
createSession
in interface RepositorySessionFactory
MetadataRepositoryException
protected void initialize()
initialize
in class AbstractRepositorySessionFactory
protected void shutdown()
shutdown
in class AbstractRepositorySessionFactory
@PreDestroy public void close()
close
in interface RepositorySessionFactory
close
in class AbstractRepositorySessionFactory
public void setMetadataResolver(MetadataResolver metadataResolver)
public JcrMetadataRepository getMetadataRepository()
public MetadataService getMetadataService()
public void setMetadataService(MetadataService metadataService)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.