
commerce.broadleaf-contentmanagement-module.3.1.7-GA.source-code.bl-cms-contentCreator-applicationContext.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- #%L BroadleafCommerce CMS Module %% 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" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:mo="http://schema.broadleafcommerce.org/mo" 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 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd http://schema.broadleafcommerce.org/mo http://schema.broadleafcommerce.org/mo/mo-3.0.xsd"> <context:component-scan base-package="org.broadleafcommerce.cms"> <context:exclude-filter type="regex" expression="org.broadleafcommerce.cms.admin.web.controller.*"/> </context:component-scan> <bean id="blCustomPersistenceHandlers" class="org.springframework.beans.factory.config.ListFactoryBean" scope="prototype"> <property name="sourceList"> <list> <ref bean="blPageTemplateCustomPersistenceHandler" /> <ref bean="blStructuredContentTypeCustomPersistenceHandler"/> <ref bean="blTimeDTOCustomPersistenceHandler"/> <ref bean="blRequestDTOCustomPersistenceHandler"/> </list> </property> </bean> <mo:override id="blMetadataOverrides"> <mo:overrideItem configurationKey="targetProduct"> <mo:field name="defaultCategory"> <mo:property name="excluded" value="false"/> </mo:field> <mo:field name="id"> <mo:property name="excluded" value="true"/> </mo:field> <mo:field name="description"> <mo:property name="excluded" value="true"/> </mo:field> <mo:field name="longDescription"> <mo:property name="excluded" value="true"/> </mo:field> <mo:field name="activeStartDate"> <mo:property name="excluded" value="true"/> </mo:field> <mo:field name="activeEndDate"> <mo:property name="excluded" value="true"/> </mo:field> <mo:field name="defaultCategory.activeStartDate"> <mo:property name="excluded" value="true"/> </mo:field> <mo:field name="defaultCategory.activeEndDate"> <mo:property name="excluded" value="true"/> </mo:field> <mo:field name="sku.name"> <mo:property name="excluded" value="true"/> </mo:field> <mo:field name="sku.salePrice"> <mo:property name="excluded" value="true"/> </mo:field> <mo:field name="sku.retailPrice"> <mo:property name="excluded" value="true"/> </mo:field> </mo:overrideItem> </mo:override> <bean id="messageSource" class="org.broadleafcommerce.common.util.BroadleafMergeResourceBundleMessageSource"> <property name="useCodeAsDefaultMessage" value="${messages.useCodeAsDefaultMessage}" /> <property name="cacheSeconds" value="${messages.cacheSeconds}" /> <property name="basenames"> <list> <value>classpath:/messages/ContentManagementMessages</value> <value>classpath:/messages/GeneratedMessagesEntityCMS</value> </list> </property> </bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy