public interface XBundleRevision extends XResource, org.osgi.framework.wiring.BundleRevision
BundleRevisionXResource.StateCAPABILITY_TYPE_ATTRIBUTE, MAVEN_IDENTITY_NAMESPACE, MODULE_IDENTITY_NAMESPACE, RESOURCE_IDENTIFIER_KEY, TYPE_ABSTRACT, TYPE_BUNDLE, TYPE_FRAGMENT, TYPE_MAVEN, TYPE_MODULE, TYPE_UNKNOWN| Modifier and Type | Method and Description |
|---|---|
Enumeration<URL> |
findEntries(String path,
String filePattern,
boolean recursive) |
XBundle |
getBundle()
Get the associated
XBundle |
String |
getCanonicalName()
Get the bundle canonical name
[symbolicName:version]
|
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) |
XBundleWiringSupport |
getWiringSupport()
Get the
XBundleWiringSupport associated with this resource |
boolean |
isFragment()
True if this revision is a fragment
|
getIdentityCapability, getState, getWiring, isAbstract, isMutable, setMutable, validategetAttachment, putAttachment, removeAttachmentgetAttribute, getAttributesXBundle getBundle()
XBundlegetBundle in interface org.osgi.framework.BundleReferenceXBundleWiringSupport getWiringSupport()
XBundleWiringSupport associated with this resourcegetWiringSupport in interface XResourceString getCanonicalName()
org.jboss.modules.ModuleIdentifier getModuleIdentifier()
ModuleIdentifier
or null if the revision is not resolvedorg.jboss.modules.ModuleClassLoader getModuleClassLoader()
ModuleIdentifier
or null if the revision is not resolvedEnumeration<URL> getResources(String name) throws IOException
IOExceptionBundle#getResources(String)}Enumeration<URL> findEntries(String path, String filePattern, boolean recursive)
Bundle#findEntries(String, String, boolean)}Enumeration<String> getEntryPaths(String path)
Bundle#getEntryPaths(String)}boolean isFragment()
Copyright © 2016 JBoss by Red Hat. All rights reserved.