public interface XBundleRevision extends XResource, org.osgi.framework.wiring.BundleRevision
BundleRevision
XResource.State
CAPABILITY_TYPE_ATTRIBUTE, MAVEN_IDENTITY_NAMESPACE, MODULE_IDENTITY_NAMESPACE, RESOURCE_IDENTIFIER_KEY, TYPE_ABSTRACT, TYPE_BUNDLE, TYPE_FRAGMENT, TYPE_MAVEN, TYPE_MODULE, TYPE_UNKNOWN
BUNDLE_NAMESPACE, HOST_NAMESPACE, PACKAGE_NAMESPACE, TYPE_FRAGMENT
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, validate
getAttachment, putAttachment, removeAttachment
getAttribute, getAttributes
getCapabilities, getDeclaredCapabilities, getDeclaredRequirements, getRequirements, getSymbolicName, getTypes, getVersion, getWiring
XBundle getBundle()
XBundle
getBundle
in interface BundleReference
XBundleWiringSupport getWiringSupport()
XBundleWiringSupport
associated with this resourcegetWiringSupport
in interface XResource
String 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
IOException
Bundle#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 © 2013 JBoss by Red Hat. All Rights Reserved.