
commerce.broadleaf-open-admin-platform.3.1.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
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!-- #%L BroadleafCommerce Open Admin Platform %% Copyright (C) 2009 - 2013 Broadleaf Commerce %% Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #L% --> <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> <!-- Some front-facing modules rely on admin-level security as well; ensure that the row level security providers are included in the client-side portion of the admin --> <bean id="blRowLevelSecurityProviders" class="org.springframework.beans.factory.config.ListFactoryBean" > <property name="sourceList"> <list> </list> </property> </bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy