crafter.core.core-context.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"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.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.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:crafter/core/core.properties</value>
</list>
</property>
<property name="ignoreUnresolvablePlaceholders" value="true" />
</bean>
<!-- 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"/>
<!-- 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