All Downloads are FREE. Search and download functionalities are using the official Maven repository.

crafter.core.core-context.xml Maven / Gradle / Ivy

There is a newer version: 4.2.0
Show newest version
<?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.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"/>

    <!-- 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