<resource>
  <capability namespace="osgi.identity">
    <attribute name="osgi.identity" value="tmp"/>
    <attribute name="type" value="osgi.bundle"/>
    <attribute name="version" type="Version" value="0.0.0"/>
  </capability>
  <capability namespace="osgi.content">
    <attribute name="osgi.content" value="703817bba9c5dddc95338d2c2f3720557dc756ee54269b6153ade8896083b9a1"/>
    <attribute name="url" value="testdata/scr_services.jar"/>
    <attribute name="size" type="Long" value="2766"/>
    <attribute name="mime" value="application/vnd.osgi.bundle"/>
  </capability>
  <capability namespace="osgi.wiring.bundle">
    <attribute name="osgi.wiring.bundle" value="tmp"/>
    <attribute name="bundle-version" type="Version" value="0.0.0"/>
  </capability>
  <capability namespace="osgi.wiring.host">
    <attribute name="osgi.wiring.host" value="tmp"/>
    <attribute name="bundle-version" type="Version" value="0.0.0"/>
  </capability>
  <capability namespace="osgi.service">
    <attribute name="objectClass" type="List&lt;String&gt;" value="java.lang.Runnable"/>
    <attribute name="baz" type="List&lt;String&gt;" value="x,y,z"/>
    <attribute name="foo" value="bar"/>
    <attribute name="bar" type="Long" value="1"/>
    <directive name="uses" value="java.lang"/>
  </capability>
  <requirement namespace="osgi.wiring.package">
    <directive name="filter" value="(osgi.wiring.package=javax.sql)"/>
  </requirement>
  <requirement namespace="osgi.ee">
    <directive name="filter" value="(&amp;(osgi.ee=JavaSE)(version=1.7))"/>
  </requirement>
  <requirement namespace="osgi.service">
    <directive name="filter" value="(objectClass=javax.sql.DataSource)"/>
    <directive name="cardinality" value="multiple"/>
    <directive name="effective" value="active"/>
  </requirement>
  <requirement namespace="osgi.service">
    <directive name="filter" value="(objectClass=javax.sql.DataSource)"/>
    <directive name="effective" value="active"/>
  </requirement>
  <requirement namespace="osgi.service">
    <directive name="filter" value="(objectClass=javax.sql.DataSource)"/>
    <directive name="resolution" value="optional"/>
    <directive name="effective" value="active"/>
  </requirement>
  <requirement namespace="osgi.service">
    <directive name="filter" value="(objectClass=javax.sql.DataSource)"/>
    <directive name="effective" value="active"/>
  </requirement>
  <requirement namespace="osgi.extender">
    <directive name="filter" value="(&amp;(osgi.extender=osgi.component)(version&gt;=1.1.0)(!(version&gt;=2.0.0)))"/>
    <directive name="effective" value="active"/>
  </requirement>
</resource>