public interface XRepository extends Repository
Repository
interfaceModifier and Type | Field and Description |
---|---|
static org.jboss.osgi.spi.AttachmentKey<org.jboss.osgi.metadata.OSGiMetaData> |
OSGI_METADATA
The metadata for the target resource
|
static String |
PROPERTY_MAVEN_REPOSITORY_BASE_URLS
The property that defines the Maven Repository base URLs.
|
static String |
PROPERTY_REPOSITORY_STORAGE_DIR
The property that defines the repository storage directory.
|
static String |
PROPERTY_REPOSITORY_STORAGE_FILE
The property that defines the repository storage file.
|
static org.jboss.osgi.spi.AttachmentKey<org.osgi.resource.Requirement> |
SOURCE_REQUIREMENT
The source requirement for the target resource
|
static String |
TARGET_TYPE
The target type returned by the
MavenIdentityRepository |
URL
Modifier and Type | Method and Description |
---|---|
Collection<org.osgi.resource.Capability> |
findProviders(org.osgi.resource.Requirement requirement)
Find the capabilities that match the specified requirement.
|
String |
getName()
Get the name for this repository
|
findProviders
static final String PROPERTY_MAVEN_REPOSITORY_BASE_URLS
static final String PROPERTY_REPOSITORY_STORAGE_DIR
static final String PROPERTY_REPOSITORY_STORAGE_FILE
static final String TARGET_TYPE
MavenIdentityRepository
org.jboss.osgi.resolver.XResource#TYPE_BUNDLE}
,
org.jboss.osgi.resolver.XResource#TYPE_MODULE}
,
Constant Field Valuesstatic final org.jboss.osgi.spi.AttachmentKey<org.osgi.resource.Requirement> SOURCE_REQUIREMENT
static final org.jboss.osgi.spi.AttachmentKey<org.jboss.osgi.metadata.OSGiMetaData> OSGI_METADATA
String getName()
Collection<org.osgi.resource.Capability> findProviders(org.osgi.resource.Requirement requirement)
requirement
- The requirements for which matching capabilities
should be returned. Must not be null
.Copyright © 2013 JBoss by Red Hat. All rights reserved.