org.jboss.osgi.resolver
Interface XBundleRevision
- All Superinterfaces:
- org.osgi.framework.BundleReference, org.osgi.framework.wiring.BundleRevision, org.osgi.resource.Resource, XAttachmentSupport, XElement, XResource
- All Known Implementing Classes:
- AbstractBundleRevision
public interface XBundleRevision
- extends XResource, org.osgi.framework.wiring.BundleRevision
An extension to BundleRevision
- Since:
- 15-Mar-2012
- Author:
- thomas.diesler@jboss.com
| Fields inherited from interface org.osgi.framework.wiring.BundleRevision |
BUNDLE_NAMESPACE, HOST_NAMESPACE, PACKAGE_NAMESPACE, TYPE_FRAGMENT |
| Methods inherited from interface org.osgi.framework.wiring.BundleRevision |
getCapabilities, getDeclaredCapabilities, getDeclaredRequirements, getRequirements, getSymbolicName, getTypes, getVersion, getWiring |
| Methods inherited from interface org.osgi.resource.Resource |
equals, hashCode |
getBundle
XBundle getBundle()
- Get the associated
XBundle
- Specified by:
getBundle in interface org.osgi.framework.BundleReference
getModuleIdentifier
org.jboss.modules.ModuleIdentifier getModuleIdentifier()
- Get the associated
ModuleIdentifier
or null if the revision is not resolved
getModuleClassLoader
org.jboss.modules.ModuleClassLoader getModuleClassLoader()
- Get the associated
ModuleIdentifier
or null if the revision is not resolved
getResource
URL getResource(String name)
- See Also:
Bundle#getResource(String)}
getResources
Enumeration<URL> getResources(String name)
throws IOException
- Throws:
IOException- See Also:
Bundle#getResources(String)}
findEntries
Enumeration<URL> findEntries(String path,
String filePattern,
boolean recursive)
- See Also:
Bundle#findEntries(String, String, boolean)}
getEntry
URL getEntry(String path)
- See Also:
Bundle#getEntry(String)}
getEntryPaths
Enumeration<String> getEntryPaths(String path)
- See Also:
Bundle#getEntryPaths(String)}
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.