Created
April 20, 2011 19:26
-
-
Save mathieuancelin/932428 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
public class ServiceListener { | |
public void bindService(MyService service) { | |
} | |
public void unbindService(MyService service) { | |
} | |
} | |
// with configuration | |
<bean id="listener" class="ServiceListener" /> | |
<ref-list interface="MyService.class"> | |
<reference-listener ref="listener" | |
bind="bindService" | |
unbind="unbindService" /> | |
</ref-list> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment