public class AbstractPersistentRepository extends AbstractRepository implements XPersistentRepository
XRepository
that delegates to RepositoryStorage
.OSGI_METADATA, PROPERTY_MAVEN_REPOSITORY_BASE_URLS, PROPERTY_REPOSITORY_STORAGE_DIR, PROPERTY_REPOSITORY_STORAGE_FILE, SOURCE_REQUIREMENT, TARGET_TYPE
URL
Constructor and Description |
---|
AbstractPersistentRepository(RepositoryStorageFactory factory) |
AbstractPersistentRepository(RepositoryStorageFactory factory,
XRepository delegate) |
Modifier and Type | Method and Description |
---|---|
Collection<org.osgi.resource.Capability> |
findProviders(org.osgi.resource.Requirement req)
Find the capabilities that match the specified requirement.
|
XRepository |
getRepository()
Get the repository delegate
|
RepositoryStorage |
getRepositoryStorage()
Get the associated repository storage
|
findProviders, getName, getOSGiMetaData, getResourceManifest, getTargetResource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
findProviders
public AbstractPersistentRepository(RepositoryStorageFactory factory)
public AbstractPersistentRepository(RepositoryStorageFactory factory, XRepository delegate)
public RepositoryStorage getRepositoryStorage()
XPersistentRepository
getRepositoryStorage
in interface XPersistentRepository
public XRepository getRepository()
XPersistentRepository
getRepository
in interface XPersistentRepository
public Collection<org.osgi.resource.Capability> findProviders(org.osgi.resource.Requirement req)
XRepository
findProviders
in interface XRepository
findProviders
in class AbstractRepository
req
- The requirements for which matching capabilities
should be returned. Must not be null
.Copyright © 2013 JBoss by Red Hat. All rights reserved.