public class AbstractBundleWiring extends AbstractWiring implements XBundleWiring
BundleWiring implementation.| Constructor and Description |
|---|
AbstractBundleWiring(XBundleRevision brev,
List<org.osgi.resource.Wire> required,
List<org.osgi.resource.Wire> provided) |
| Modifier and Type | Method and Description |
|---|---|
List<URL> |
findEntries(String path,
String filePattern,
int options) |
org.osgi.framework.Bundle |
getBundle() |
List<org.osgi.framework.wiring.BundleCapability> |
getCapabilities(String namespace) |
ClassLoader |
getClassLoader() |
protected HostedCapability |
getHostedCapability(XCapability cap) |
List<org.osgi.framework.wiring.BundleWire> |
getProvidedWires(String namespace) |
List<org.osgi.framework.wiring.BundleWire> |
getRequiredWires(String namespace) |
List<org.osgi.framework.wiring.BundleRequirement> |
getRequirements(String namespace) |
XBundleRevision |
getResource() |
XBundleRevision |
getRevision() |
boolean |
isCurrent() |
boolean |
isInUse() |
boolean |
isInUseForUninstall() |
Collection<String> |
listResources(String startPath,
String filePattern,
int options) |
addProvidedWire, addRequiredWire, getProvidedResourceWires, getRequiredResourceWires, getResourceCapabilities, getResourceRequirements, isEffective, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddProvidedWire, addRequiredWire, isEffectivepublic AbstractBundleWiring(XBundleRevision brev, List<org.osgi.resource.Wire> required, List<org.osgi.resource.Wire> provided)
protected HostedCapability getHostedCapability(XCapability cap)
getHostedCapability in class AbstractWiringpublic boolean isCurrent()
isCurrent in interface org.osgi.framework.wiring.BundleWiringpublic boolean isInUse()
isInUse in interface org.osgi.framework.wiring.BundleWiringpublic boolean isInUseForUninstall()
public List<org.osgi.framework.wiring.BundleCapability> getCapabilities(String namespace)
getCapabilities in interface org.osgi.framework.wiring.BundleWiringpublic List<org.osgi.framework.wiring.BundleRequirement> getRequirements(String namespace)
getRequirements in interface org.osgi.framework.wiring.BundleWiringpublic List<org.osgi.framework.wiring.BundleWire> getProvidedWires(String namespace)
getProvidedWires in interface org.osgi.framework.wiring.BundleWiringpublic List<org.osgi.framework.wiring.BundleWire> getRequiredWires(String namespace)
getRequiredWires in interface org.osgi.framework.wiring.BundleWiringpublic XBundleRevision getRevision()
getRevision in interface org.osgi.framework.wiring.BundleWiringpublic XBundleRevision getResource()
getResource in interface org.osgi.framework.wiring.BundleWiringgetResource in interface org.osgi.resource.WiringgetResource in class AbstractWiringpublic ClassLoader getClassLoader()
getClassLoader in interface org.osgi.framework.wiring.BundleWiringpublic List<URL> findEntries(String path, String filePattern, int options)
findEntries in interface org.osgi.framework.wiring.BundleWiringpublic Collection<String> listResources(String startPath, String filePattern, int options)
listResources in interface org.osgi.framework.wiring.BundleWiringpublic org.osgi.framework.Bundle getBundle()
getBundle in interface org.osgi.framework.BundleReferenceCopyright © 2016 JBoss by Red Hat. All rights reserved.