Class Bundle


  • public class Bundle
    extends Object
    A Plug-in (OSGi Bundle) definition. Represents the XML declaration.
    • Constructor Detail

      • Bundle

        public Bundle​(String symbolicName,
                      String name,
                      String vendorName,
                      String version,
                      URL manifestLocation)
        Constructor
        Parameters:
        symbolicName - the unique id - bundle symbolic name
        name - the name
        vendorName - the vendor name
        version - the version number
        manifestLocation - the path to the declaration file
    • Method Detail

      • getSymbolicName

        public String getSymbolicName()
        Accessor for the plug-in id - bundle symbolic name
        Returns:
        id of the plug-in
      • getVendorName

        public String getVendorName()
        Accessor for the provider name of this plug-in
        Returns:
        provider name
      • getVersion

        public String getVersion()
        Acessor for the version of this plug-in
        Returns:
        version
      • getManifestLocation

        public URL getManifestLocation()
        Acessor for the location of the manifest.mf file
        Returns:
        the manifest.mf location
      • getName

        public String getName()
        Acessor for the plug-in name
        Returns:
        plug-in name