crafter.core.core-context.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (C) 2007-2020 Crafter Software Corporation. All Rights Reserved.
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License version 3 as published by
~ the Free Software Foundation.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<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.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<!--
Activates various annotations to be detected in bean classes: Spring's @Required and @Autowired, as well as JSR
250's @PostConstruct, @PreDestroy and @Resource (if available), JAX-WS's @WebServiceRef (if available), EJB3's @EJB
(if available), and JPA's @PersistenceContext and @PersistenceUnit (if available).
-->
<context:annotation-config/>
<!-- Default configuration properties -->
<bean name="crafter.properties" class="org.springframework.context.support.PropertySourcesPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:crafter/core/core.properties</value>
</list>
</property>
<property name="ignoreUnresolvablePlaceholders" value="true" />
</bean>
<!-- Commons Validation context -->
<import resource="classpath:crafter/commons/validation/validation-context.xml"/>
<!-- Main contexts -->
<!-- Cache Engine -->
<import resource="classpath:crafter/core/cache-context.xml"/>
<!-- Merging Engine -->
<import resource="classpath:crafter/core/merger-context.xml"/>
<!-- Processors -->
<import resource="classpath:crafter/core/processors-context.xml"/>
<!-- Content Store -->
<import resource="classpath:crafter/core/store-context.xml"/>
<!-- Blob Store -->
<import resource="classpath:crafter/core/blob-context.xml"/>
<!-- RESTful API
Make sure you add the following line to your extensions if you want to enable REST API (uncommented of course).
Make sure you're running in a in a servlet container or app server.
-->
<!-- <import resource="classpath:crafter/core/rest-context.xml"/> -->
</beans> © 2015 - 2025 Weber Informatics LLC | Privacy Policy