Integration with the OSGi TCK. It implements an integration protocol as specified by the Repository CT:
As the Repository spec doesn't specify how the Repository is primed with information, a Repository implementation
must supply an integration bundle which primes the repository with information as expected by this test case.
This process works as follows:
- The test registers a String service which holds the Repository XML that contains the expected content.
- The service has the property REPOSITORY_XML_KEY set to the name of this class.
- The integration bundle must listen to this service and register one or more Repository service implementations
that serve the information as specified in the XML.
- When the integration bundle is finished with its setup it must register a service with the property
REPOSITORY_POPULATED_KEY set to the name of this test class.
The service object or registration class are ignored by the test.
- The test waits for this service to appear and runs the tests when it does.