@Service(value="repositorySessionFactory#mock") public class MockRepositorySessionFactory extends Object implements RepositorySessionFactory
Modifier and Type | Field and Description |
---|---|
private MetadataRepository |
repository |
private MetadataResolver |
resolver |
Constructor and Description |
---|
MockRepositorySessionFactory() |
Modifier and Type | Method and Description |
---|---|
RepositorySession |
createSession() |
void |
setRepository(MetadataRepository repository) |
void |
setResolver(MetadataResolver resolver) |
private MetadataRepository repository
private MetadataResolver resolver
public MockRepositorySessionFactory()
public void setRepository(MetadataRepository repository)
public void setResolver(MetadataResolver resolver)
public RepositorySession createSession()
createSession
in interface RepositorySessionFactory
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.