org.jboss.osgi.resolver
Interface XBundle

All Superinterfaces:
Adaptable, org.osgi.framework.Bundle, Comparable<org.osgi.framework.Bundle>

public interface XBundle
extends Adaptable, org.osgi.framework.Bundle

An extension to Bundle

Since:
11-Jun-2012
Author:
thomas.diesler@jboss.com

Field Summary
 
Fields inherited from interface org.osgi.framework.Bundle
ACTIVE, INSTALLED, RESOLVED, SIGNERS_ALL, SIGNERS_TRUSTED, START_ACTIVATION_POLICY, START_TRANSIENT, STARTING, STOP_TRANSIENT, STOPPING, UNINSTALLED
 
Method Summary
 List<XBundleRevision> getAllBundleRevisions()
          Get all XBundleRevisions
 XBundleRevision getBundleRevision()
          Get the current XBundleRevision
 String getCanonicalName()
          Get the bundle canonical name [symbolicName:version]
 boolean isFragment()
          True if the bundle is a fragment.
 boolean isResolved()
          True if the bundle is resolved.
 
Methods inherited from interface org.jboss.osgi.resolver.Adaptable
adapt
 
Methods inherited from interface org.osgi.framework.Bundle
adapt, findEntries, getBundleContext, getBundleId, getDataFile, getEntry, getEntryPaths, getHeaders, getHeaders, getLastModified, getLocation, getRegisteredServices, getResource, getResources, getServicesInUse, getSignerCertificates, getState, getSymbolicName, getVersion, hasPermission, loadClass, start, start, stop, stop, uninstall, update, update
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getBundleRevision

XBundleRevision getBundleRevision()
Get the current XBundleRevision


getAllBundleRevisions

List<XBundleRevision> getAllBundleRevisions()
Get all XBundleRevisions


getCanonicalName

String getCanonicalName()
Get the bundle canonical name [symbolicName:version]


isResolved

boolean isResolved()
True if the bundle is resolved.


isFragment

boolean isFragment()
True if the bundle is a fragment.



Copyright © 2012 JBoss by Red Hat. All Rights Reserved.