
commerce.broadleaf-framework.1.5.5-GA.source-code.bl-framework-applicationContext.xml Maven / Gradle / Ivy
<?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:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd"> <context:component-scan base-package="org.broadleafcommerce.core"> <context:exclude-filter type="regex" expression="org.broadleafcommerce.core.web.*"/> </context:component-scan> <bean id="exporter" class="org.springframework.jmx.export.MBeanExporter"> <property name="autodetect" value="true"/> <property name="assembler" ref="blAssembler"/> <property name="namingStrategy" ref="blNamingStrategy"/> </bean> <bean id="blAttributeSource" class="org.broadleafcommerce.profile.jmx.AnnotationJmxAttributeSource"> <constructor-arg> <bean class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName"> <value>java:/comp/env/appName</value> </property> <property name="defaultObject" value="broadleaf"/> </bean> </constructor-arg> </bean> <bean id="blAssembler" class="org.broadleafcommerce.profile.jmx.MetadataMBeanInfoAssembler"> <property name="attributeSource" ref="blAttributeSource"/> </bean> <bean id="blNamingStrategy" class="org.broadleafcommerce.profile.jmx.MetadataNamingStrategy"> <property name="attributeSource" ref="blAttributeSource"/> </bean> <bean id="blAccountNumberMask" class="org.broadleafcommerce.profile.payment.AccountNumberMask"> <constructor-arg> <list> <bean class="org.broadleafcommerce.profile.payment.UnmaskRange"> <constructor-arg value="0"/> <constructor-arg value="0"/> </bean> <bean class="org.broadleafcommerce.profile.payment.UnmaskRange"> <constructor-arg value="1"/> <constructor-arg value="4"/> </bean> </list> </constructor-arg> <constructor-arg value="X"/> </bean> <bean id="blContentCartRuleProcessor" class="org.broadleafcommerce.core.order.service.StructuredContentCartRuleProcessor"> <property name="orderDao" ref="blOrderDao"/> <property name="contextClassNames"> <map> <entry key="discreteOrderItem" value="org.broadleafcommerce.core.order.domain.DiscreteOrderItem" /> </map> </property> </bean> <!-- Append the content rule processor that checks for cart contents --> <bean id="blContentRuleProcessors" class="org.springframework.beans.factory.config.ListFactoryBean"> <property name="sourceList"> <list> <ref bean="blContentCartRuleProcessor"/> </list> </property> </bean> <bean id="conversionService" class="org.springframework.context.support.ConversionServiceFactoryBean"> <property name="converters"> <list> <bean class="org.broadleafcommerce.openadmin.server.util.LocaleConverter" /> </list> </property> </bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy