title: Exposing multiple implementations of a interface as OSGI service
body: <p>I have an interface that has two implementations. I want to expose both implementations as OSGi services, but when I am doing that one overrides the other. Please find the configuration that I am doing:</p>
  
  <pre><code>&lt;bean id="formService" class="com.dbt.form.service.FormService"/&gt;
  &lt;bean id="formAPIService" class="com.dbt.form.service.FormAPIService"/&gt;
  &lt;osgi:service 
      ref="formAPIService" 
      interface="com.dbt.form.service.ifc.IFormService"/&gt;
  &lt;osgi:service 
      ref="formService" 
      interface="com.dbt.form.service.ifc.IFormService" /&gt;
  </code></pre>
  
  <p>Here <code>formService</code> is overriden by <code>formAPIService</code> implementation.</p>
  
  <p>Please help me on how to sort out this issue.</p>