sito per le richieste......
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

39 righe
1.3 KiB

<?xml version="1.0"?>
<beans
default-destroy-method="destroy"
default-init-method="afterPropertiesSet"
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-3.0.xsd"
>
<!-- Destinations -->
<bean id="destination.resources_importer" class="com.liferay.portal.kernel.messaging.SerialDestination">
<property name="name" value="liferay/resources_importer" />
</bean>
<!-- Listeners -->
<bean id="messageListener.hot_deploy" class="com.liferay.resourcesimporter.messaging.ResourcesImporterHotDeployMessageListener" />
<!-- Configurator -->
<bean id="messagingConfigurator" class="com.liferay.portal.kernel.messaging.config.PluginMessagingConfigurator">
<property name="destinations">
<list>
<ref bean="destination.resources_importer" />
</list>
</property>
<property name="messageListeners">
<map key-type="java.lang.String" value-type="java.util.List">
<entry key="liferay/hot_deploy">
<list value-type="com.liferay.portal.kernel.messaging.MessageListener">
<ref bean="messageListener.hot_deploy" />
</list>
</entry>
</map>
</property>
</bean>
</beans>