Created
December 8, 2009 16:55
-
-
Save jponge/251799 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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.xsd | |
http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi-1.2.xsd"> | |
<bean name="me" class="fr.insalyon.ponge.greeter.Person"> | |
<constructor-arg index="0"> | |
<value>Julien Ponge</value> | |
</constructor-arg> | |
<constructor-arg index="1"> | |
<value>[email protected]</value> | |
</constructor-arg> | |
</bean> | |
<osgi:reference id="greeterService" interface="fr.insalyon.ponge.greeter.Greeter" cardinality="1..1"> | |
<osgi:listener ref="app" bind-method="bind" unbind-method="unbind" /> | |
</osgi:reference> | |
<bean name="app" class="fr.insalyon.ponge.greeterapp.GreeterApp"> | |
<property name="person"> | |
<ref bean="me" /> | |
</property> | |
</bean> | |
</beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment