THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
By default PojoSR test container scans the test classpath for all the OSGi bundles available there. All the bundles with Blueprint descriptor files will be automatically started by the test container. If you would like to prevent particular bundles from being started by the test container, override the getBundleFilter
method, just as demonstrated on the snippet below.
Code Block | ||
---|---|---|
| ||
@Override protected String getBundleFilter() { // I don't want test container to scan and load Logback bundle during the test return "(!(Bundle-SymbolicName=ch.qos.logback.core))"; } |
...