Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
scr-1.0.6
-
None
-
OSGi RFC-0134, OSGi R4.2 Early Draft 2 (http://www.osgi.org/download/osgi-4.2-early-draft2.pdf)
Description
A way is needed to allow wild specification of the XML documents containing the component descriptions.
To support this, section 112.4.1 will be updated to state that the path element of the Service-Component header grammar may include wildcards in the last component of the path. For example:
Service-Component: OSGI-INF/*.xml
Only the last component of the path may use wildcards so that Bundle.findEntries can be used to locate the XML document within the bundle and its fragments.