Package org.osgi.test.common.annotation
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 -
Optional Element Summary
Optional Elements
-
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
-