public final class Bundles
extends java.lang.Object
Bundle
instances.Modifier and Type | Method and Description |
---|---|
static org.osgi.framework.Bundle |
forClass(java.lang.Class<?> type) |
static org.osgi.framework.Bundle |
forName(java.lang.String name) |
static java.util.List<org.osgi.framework.Bundle> |
forNames(java.lang.Iterable<java.lang.String> names) |
static java.util.List<org.osgi.framework.Bundle> |
forNames(java.lang.String... names) |
static java.util.Map<java.lang.String,java.lang.String> |
getHeaders(org.osgi.framework.Bundle bundle) |
static java.lang.String |
getName(org.osgi.framework.Bundle bundle) |
static ClassResolver |
newClassResolver(org.osgi.framework.Bundle bundle) |
static java.util.List<ClassResolver> |
newClassResolvers(org.osgi.framework.Bundle... bundles) |
static java.util.List<ClassResolver> |
newClassResolvers(java.lang.Iterable<org.osgi.framework.Bundle> bundles) |
public static org.osgi.framework.Bundle forClass(java.lang.Class<?> type)
public static org.osgi.framework.Bundle forName(java.lang.String name) throws BundleNotFoundException
BundleNotFoundException
public static java.util.List<org.osgi.framework.Bundle> forNames(java.lang.String... names) throws BundleNotFoundException
BundleNotFoundException
public static java.util.List<org.osgi.framework.Bundle> forNames(java.lang.Iterable<java.lang.String> names) throws BundleNotFoundException
BundleNotFoundException
public static ClassResolver newClassResolver(org.osgi.framework.Bundle bundle)
public static java.util.List<ClassResolver> newClassResolvers(org.osgi.framework.Bundle... bundles)
public static java.util.List<ClassResolver> newClassResolvers(java.lang.Iterable<org.osgi.framework.Bundle> bundles)
public static java.util.Map<java.lang.String,java.lang.String> getHeaders(org.osgi.framework.Bundle bundle)
public static java.lang.String getName(org.osgi.framework.Bundle bundle)