-
Notifications
You must be signed in to change notification settings - Fork 1
/
unomi-tweet-button.xml
19 lines (16 loc) · 1.08 KB
/
unomi-tweet-button.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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="cxsSettingsInjectorFilter" class="org.jahia.modules.unomi_tweet_button.filter.CXSSettingsInjectorFilter">
<property name="description" value="Injects CXS settings into the JS global scope"/>
<property name="applyOnModes" value="edit,live,preview"/>
<property name="priority" value="2"/>
<property name="applyOnConfigurations" value="page"/>
<property name="cxsSettingsService" ref="contextServerSettingsService"/>
</bean>
<bean class="org.jahia.modules.unomi_tweet_button.filter.CXSSettingsChangeListener">
<property name="filter" ref="cxsSettingsInjectorFilter"/>
</bean>
<bean id="contextServerSettingsService" class="org.jahia.modules.marketingfactory.admin.ContextServerSettingsService" factory-method="getInstance"/>
</beans>