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_TYPEURL| 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, getTargetResourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamefindProviderspublic AbstractPersistentRepository(RepositoryStorageFactory factory)
public AbstractPersistentRepository(RepositoryStorageFactory factory, XRepository delegate)
public RepositoryStorage getRepositoryStorage()
XPersistentRepositorygetRepositoryStorage in interface XPersistentRepositorypublic XRepository getRepository()
XPersistentRepositorygetRepository in interface XPersistentRepositorypublic Collection<org.osgi.resource.Capability> findProviders(org.osgi.resource.Requirement req)
XRepositoryfindProviders in interface XRepositoryfindProviders in class AbstractRepositoryreq - The requirements for which matching capabilities
should be returned. Must not be null.Copyright © 2013 JBoss by Red Hat. All rights reserved.