@Service(value="repositorySessionFactory#mock") public class MockRepositorySessionFactory extends AbstractRepositorySessionFactory implements RepositorySessionFactory
Constructor and Description |
---|
MockRepositorySessionFactory() |
Modifier and Type | Method and Description |
---|---|
RepositorySession |
createSession() |
protected void |
initialize() |
void |
setRepository(MetadataRepository repository) |
void |
setResolver(MetadataResolver resolver) |
protected void |
shutdown() |
close, isOpen, open
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, isOpen, open
public MockRepositorySessionFactory()
public void setRepository(MetadataRepository repository)
public void setResolver(MetadataResolver resolver)
public RepositorySession createSession() throws MetadataRepositoryException
createSession
in interface RepositorySessionFactory
MetadataRepositoryException
protected void initialize()
initialize
in class AbstractRepositorySessionFactory
protected void shutdown()
shutdown
in class AbstractRepositorySessionFactory
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.