public class AbstractBundleRevision extends AbstractResource implements XBundleRevision
XBundleRevision.| Constructor and Description |
|---|
AbstractBundleRevision() |
| Modifier and Type | Method and Description |
|---|---|
Enumeration<URL> |
findEntries(String path,
String filePattern,
boolean recursive) |
XBundle |
getBundle()
Get the associated
XBundle |
List<org.osgi.framework.wiring.BundleCapability> |
getDeclaredCapabilities(String namespace) |
List<org.osgi.framework.wiring.BundleRequirement> |
getDeclaredRequirements(String namespace) |
URL |
getEntry(String path) |
Enumeration<String> |
getEntryPaths(String path) |
org.jboss.modules.ModuleClassLoader |
getModuleClassLoader()
Get the associated
ModuleIdentifier
or null if the revision is not resolved |
org.jboss.modules.ModuleIdentifier |
getModuleIdentifier()
Get the associated
ModuleIdentifier
or null if the revision is not resolved |
URL |
getResource(String name) |
Enumeration<URL> |
getResources(String name) |
String |
getSymbolicName() |
int |
getTypes() |
org.osgi.framework.Version |
getVersion() |
org.osgi.framework.wiring.BundleWiring |
getWiring() |
addCapability, addRequirement, ensureImmutable, ensureMutable, getCapabilities, getIdentityCapability, getRequirements, getWiringSupport, isFragment, isMutable, setMutable, toString, validateaddAttachment, getAttachment, removeAttachmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdentityCapability, getWiringSupport, isFragment, isMutable, setMutable, validateaddAttachment, getAttachment, removeAttachmentpublic String getSymbolicName()
getSymbolicName in interface org.osgi.framework.wiring.BundleRevisionpublic org.osgi.framework.Version getVersion()
getVersion in interface org.osgi.framework.wiring.BundleRevisionpublic List<org.osgi.framework.wiring.BundleCapability> getDeclaredCapabilities(String namespace)
getDeclaredCapabilities in interface org.osgi.framework.wiring.BundleRevisionpublic List<org.osgi.framework.wiring.BundleRequirement> getDeclaredRequirements(String namespace)
getDeclaredRequirements in interface org.osgi.framework.wiring.BundleRevisionpublic int getTypes()
getTypes in interface org.osgi.framework.wiring.BundleRevisionpublic org.osgi.framework.wiring.BundleWiring getWiring()
getWiring in interface org.osgi.framework.wiring.BundleRevisionpublic XBundle getBundle()
XBundleRevisionXBundlegetBundle in interface XBundleRevisiongetBundle in interface org.osgi.framework.BundleReferencepublic org.jboss.modules.ModuleIdentifier getModuleIdentifier()
XBundleRevisionModuleIdentifier
or null if the revision is not resolvedgetModuleIdentifier in interface XBundleRevisionpublic org.jboss.modules.ModuleClassLoader getModuleClassLoader()
XBundleRevisionModuleIdentifier
or null if the revision is not resolvedgetModuleClassLoader in interface XBundleRevisionpublic Enumeration<URL> findEntries(String path, String filePattern, boolean recursive)
findEntries in interface XBundleRevisionBundle#findEntries(String, String, boolean)}public URL getResource(String name)
getResource in interface XBundleRevisionBundle#getResource(String)}public Enumeration<URL> getResources(String name) throws IOException
getResources in interface XBundleRevisionIOExceptionBundle#getResources(String)}public URL getEntry(String path)
getEntry in interface XBundleRevisionBundle#getEntry(String)}public Enumeration<String> getEntryPaths(String path)
getEntryPaths in interface XBundleRevisionBundle#getEntryPaths(String)}Copyright © 2013 JBoss by Red Hat. All Rights Reserved.