<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:osgi="http://www.springframework.org/schema/osgi" | |
xsi:schemaLocation=" | |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd | |
http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd"> | |
<!-- osgi:reference --> | |
<bean name="refContainer" | |
class="org.eclipse.gemini.blueprint.internal.context.support.OsgiReferenceToServiceReferenceConversionTest$RefContainer"> | |
<property name="serviceReference" ref="shape" /> | |
</bean> | |
<!-- first annonymous service --> | |
<osgi:reference interface="java.awt.Shape" id="shape" cardinality="0..1"/> | |
</beans> |