public abstract class AbstractPersistentRepository extends AbstractRepository implements PersistentRepository
PersistentRepository.Repository.ConfigurationPropertyProviderPROPERTY_MAVEN_REPOSITORY_BASE_URLS, PROPERTY_REPOSITORY_STORAGE_DIR, PROPERTY_REPOSITORY_STORAGE_FILE| Constructor and Description |
|---|
AbstractPersistentRepository(Repository.ConfigurationPropertyProvider propertyProvider) |
AbstractPersistentRepository(Repository.ConfigurationPropertyProvider propertyProvider,
Repository delegate) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
adapt(Class<T> type) |
protected abstract RepositoryStorage |
createRepositoryStorage(PersistentRepository repository,
Repository.ConfigurationPropertyProvider propertyProvider) |
Map<org.jboss.gravia.resource.Requirement,Collection<org.jboss.gravia.resource.Capability>> |
findProviders(Collection<org.jboss.gravia.resource.Requirement> reqs)
Find the capabilities that match the specified requirements.
|
Collection<org.jboss.gravia.resource.Capability> |
findProviders(org.jboss.gravia.resource.Requirement req)
Find the capabilities that match the specified requirement.
|
protected Repository.ConfigurationPropertyProvider |
getConfigurationPropertyProvider() |
Repository |
getDelegate() |
String |
getName()
Get the name for this repository
|
RepositoryStorage |
getRepositoryStorage() |
public AbstractPersistentRepository(Repository.ConfigurationPropertyProvider propertyProvider)
public AbstractPersistentRepository(Repository.ConfigurationPropertyProvider propertyProvider, Repository delegate)
protected abstract RepositoryStorage createRepositoryStorage(PersistentRepository repository, Repository.ConfigurationPropertyProvider propertyProvider)
protected Repository.ConfigurationPropertyProvider getConfigurationPropertyProvider()
public String getName()
RepositorygetName in interface RepositorygetName in class AbstractRepositorypublic <T> T adapt(Class<T> type)
adapt in interface org.jboss.gravia.resource.Adaptableadapt in class AbstractRepositorypublic RepositoryStorage getRepositoryStorage()
getRepositoryStorage in interface PersistentRepositorypublic Repository getDelegate()
getDelegate in interface PersistentRepositorypublic Map<org.jboss.gravia.resource.Requirement,Collection<org.jboss.gravia.resource.Capability>> findProviders(Collection<org.jboss.gravia.resource.Requirement> reqs)
RepositoryfindProviders in interface RepositoryfindProviders in class AbstractRepositoryreqs - The requirements for which matching capabilities
should be returned. Must not be null.public Collection<org.jboss.gravia.resource.Capability> findProviders(org.jboss.gravia.resource.Requirement req)
RepositoryfindProviders in interface Repositoryreq - The requirements for which matching capabilities
should be returned. Must not be null.Copyright © 2013 JBoss by Red Hat. All Rights Reserved.