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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addProvidedWire, addRequiredWire, isEffective
public AbstractBundleWiring(XBundleRevision brev, List<org.osgi.resource.Wire> required, List<org.osgi.resource.Wire> provided)
protected HostedCapability getHostedCapability(XCapability cap)
getHostedCapability
in class AbstractWiring
public boolean isCurrent()
isCurrent
in interface org.osgi.framework.wiring.BundleWiring
public boolean isInUse()
isInUse
in interface org.osgi.framework.wiring.BundleWiring
public boolean isInUseForUninstall()
public List<org.osgi.framework.wiring.BundleCapability> getCapabilities(String namespace)
getCapabilities
in interface org.osgi.framework.wiring.BundleWiring
public List<org.osgi.framework.wiring.BundleRequirement> getRequirements(String namespace)
getRequirements
in interface org.osgi.framework.wiring.BundleWiring
public List<org.osgi.framework.wiring.BundleWire> getProvidedWires(String namespace)
getProvidedWires
in interface org.osgi.framework.wiring.BundleWiring
public List<org.osgi.framework.wiring.BundleWire> getRequiredWires(String namespace)
getRequiredWires
in interface org.osgi.framework.wiring.BundleWiring
public XBundleRevision getRevision()
getRevision
in interface org.osgi.framework.wiring.BundleWiring
public XBundleRevision getResource()
getResource
in interface org.osgi.framework.wiring.BundleWiring
getResource
in interface org.osgi.resource.Wiring
getResource
in class AbstractWiring
public ClassLoader getClassLoader()
getClassLoader
in interface org.osgi.framework.wiring.BundleWiring
public List<URL> findEntries(String path, String filePattern, int options)
findEntries
in interface org.osgi.framework.wiring.BundleWiring
public Collection<String> listResources(String startPath, String filePattern, int options)
listResources
in interface org.osgi.framework.wiring.BundleWiring
public org.osgi.framework.Bundle getBundle()
getBundle
in interface org.osgi.framework.BundleReference
Copyright © 2013 JBoss by Red Hat. All rights reserved.