public class OSGiResourceHelper extends Object
Constructor | Description |
---|---|
OSGiResourceHelper() |
Modifier and Type | Method | Description |
---|---|---|
static String |
getContentAttribute(org.osgi.resource.Resource resource) |
|
static Object |
getContentAttribute(org.osgi.resource.Resource resource,
String name) |
|
static Object |
getIdentityAttribute(org.osgi.resource.Resource resource,
String name) |
|
static org.osgi.resource.Resource |
getResource(org.osgi.resource.Requirement requirement,
org.osgi.service.repository.Repository repository) |
|
static String |
getSymbolicNameAttribute(org.osgi.resource.Resource resource) |
|
static String |
getTypeAttribute(org.osgi.resource.Resource resource) |
|
static org.osgi.framework.Version |
getVersionAttribute(org.osgi.resource.Resource resource) |
|
static boolean |
matches(org.osgi.resource.Requirement requirement,
org.osgi.resource.Capability capability) |
public static String getContentAttribute(org.osgi.resource.Resource resource)
public static Object getContentAttribute(org.osgi.resource.Resource resource, String name)
public static Object getIdentityAttribute(org.osgi.resource.Resource resource, String name)
public static org.osgi.resource.Resource getResource(org.osgi.resource.Requirement requirement, org.osgi.service.repository.Repository repository)
public static String getSymbolicNameAttribute(org.osgi.resource.Resource resource)
public static String getTypeAttribute(org.osgi.resource.Resource resource)
public static org.osgi.framework.Version getVersionAttribute(org.osgi.resource.Resource resource)
public static boolean matches(org.osgi.resource.Requirement requirement, org.osgi.resource.Capability capability)
Copyright © 2018. All rights reserved.