Java Tutorial/Spring/ApplicationEvent
Версия от 17:44, 31 мая 2010; (обсуждение)
Context ApplicationEvent
File: context.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="publisher" class="EventPublisherDemo"/>
<bean class="MessageEventListener"/>
</beans>