commerce.broadleaf-open-admin-platform.3.0.15-GA.source-code.bl-open-admin-contentClient-applicationContext.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of broadleaf-open-admin-platform Show documentation
Show all versions of broadleaf-open-admin-platform Show documentation
BroadleafCommerce Open Admin Platform
<?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" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd"> <context:component-scan base-package="org.broadleafcommerce.common.persistence"/> <context:component-scan base-package="org.broadleafcommerce.openadmin.server.dao"/> <context:component-scan base-package="org.broadleafcommerce.openadmin.server.service.artifact"> <context:exclude-filter type="regex" expression="org.broadleafcommerce.openadmin.server.service.artifact.upload.*"/> </context:component-scan> <bean id="blExploitProtectionService" class="org.broadleafcommerce.common.security.service.ExploitProtectionServiceImpl"> <property name="xsrfProtectionEnabled" value="true" /> <property name="xssProtectionEnabled" value="false" /> </bean> <bean id="blMergedEntityContexts" class="org.springframework.beans.factory.config.ListFactoryBean"> <property name="sourceList"> <list> <value>classpath:bl-open-admin-applicationContext-entity.xml</value> </list> </property> </bean> <bean id="blMergedPersistenceXmlLocations" class="org.springframework.beans.factory.config.ListFactoryBean"> <property name="sourceList"> <list> <value>classpath*:/META-INF/persistence-open-admin.xml</value> </list> </property> </bean> <bean id="blArtifactService" class="org.broadleafcommerce.openadmin.server.service.artifact.ArtifactServiceImpl"> <property name="artifactProcessors"> <list> <bean class="org.broadleafcommerce.openadmin.server.service.artifact.image.ImageArtifactProcessor"/> <!-- possibly other artifact processors could be included here --> </list> </property> </bean> <!--Additional listeners are added in the cms contentClient applicationContext --> <bean id="blSandboxItemListeners" class="org.springframework.beans.factory.config.ListFactoryBean" scope="prototype"> <property name="sourceList"> <list> </list> </property> </bean> <!--<bean id="blSandBoxEntityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" depends-on="blCacheManager"> <property name="jpaVendorAdapter" ref="blJpaVendorAdapter"/> <property name="persistenceUnitManager" ref="blPersistenceUnitManager"/> <property name="persistenceUnitName" value="blSandboxPU"/> </bean> <bean id="blTransactionManagerSandBox" class="org.springframework.orm.jpa.JpaTransactionManager"> <property name="entityManagerFactory" ref="blSandBoxEntityManagerFactory" /> </bean> <tx:advice id="blTxAdviceSandBox" transaction-manager="blTransactionManagerSandBox"> <tx:attributes> <tx:method name="*" propagation="REQUIRED"/> </tx:attributes> </tx:advice>--> <bean id="blSendAdminUsernameEmailInfo" class="org.broadleafcommerce.common.email.service.info.EmailInfo"> <property name="fromAddress" value="${adminUserNameEmail.fromAddress}"/> <property name="emailTemplate" value="${adminUserNameEmail.emailTemplate}"/> <property name="subject" value="${adminUserNameEmail.subject}"/> </bean> <bean id="blSendAdminResetPasswordEmail" class="org.broadleafcommerce.common.email.service.info.EmailInfo"> <property name="fromAddress" value="${adminResetPassword.fromAddress}"/> <property name="emailTemplate" value="${adminResetPassword.emailTemplate}"/> <property name="subject" value="${adminResetPassword.subject}"/> </bean> <bean id="blMetadataProviders" class="org.broadleafcommerce.common.util.SortedListFactoryBean" scope="prototype"> <property name="sourceList"> <list> <ref bean="blBasicFieldMetadataProvider"/> <ref bean="blCollectionFieldMetadataProvider"/> <ref bean="blAdornedTargetCollectionFieldMetadataProvider"/> <ref bean="blMapFieldMetadataProvider"/> <ref bean="blMapFieldsFieldMetadataProvider"/> <ref bean="blPasswordFieldMetadataProvider"/> </list> </property> </bean> <bean id="blPersistenceProviders" class="org.broadleafcommerce.common.util.SortedListFactoryBean" scope="prototype"> <property name="sourceList"> <list> <ref bean="blHTMLFieldPersistenceProvider"/> <ref bean="blBasicFieldPersistenceProvider"/> <ref bean="blRuleFieldPersistenceProvider"/> <ref bean="blMapFieldPersistenceProvider"/> <ref bean="blMoneyFieldPersistenceProvider"/> <ref bean="blMediaFieldPersistenceProvider"/> </list> </property> </bean> </beans>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy