Annotation Type InjectInstalledBundle


@Inherited @Target({FIELD,PARAMETER}) @Retention(RUNTIME) @ExtendWith(InstalledBundleExtension.class) @Documented public @interface InjectInstalledBundle
Loads a Bundle from a given location and installs the Bundle.
 @InjectInstalledBundle
 Bundle installedBundle;
 
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
  • Element Details

    • value

      String value
      Returns:
      value that would be processed in condition to the @sourceType bundle: (if bsn is empty, resolves to the current bundle)
      bundle:/path/to.jar for an embedded bundle (again, if bsn is empty, resolves to the current bundle).
      file:/path/to.jar
    • start

      boolean start
      Returns:
      start if true, indicates to start the bundle
      Default:
      false