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

org.echocat.jomon.spring.baseBeans.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ~ **** BEGIN LICENSE BLOCK *****
  ~
  ~ Version: MPL 2.0
  ~
  ~ echocat Jomon, Copyright (c) 2012-2014 echocat
  ~
  ~ This Source Code Form is subject to the terms of the Mozilla Public
  ~ License, v. 2.0. If a copy of the MPL was not distributed with this
  ~ file, You can obtain one at http://mozilla.org/MPL/2.0/.
  ~
  ~ **** END LICENSE BLOCK *****
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:c="http://www.springframework.org/schema/c"
       xmlns:p="http://www.springframework.org/schema/p"
       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.0.xsd
                           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd">

    <bean id="org.echocat.jomon.spring.BeanPostConfigurer" class="org.echocat.jomon.spring.BeanPostConfigurer"
          p:propertiesFromFileIfExists="#{systemProperties['applicationContext.properties'] != null ? systemProperties['applicationContext.properties'] : 'conf/applicationContext.properties'}" />

    <bean id="org.echocat.jomon.spring.ContextLoadThreadGroup" class="org.echocat.jomon.spring.ContextLoadThreadGroup" lazy-init="true" />
    <bean id="org.echocat.jomon.runtime.RuntimeInformation" class="org.echocat.jomon.runtime.RuntimeInformation" lazy-init="true" />

    <context:annotation-config />

    <bean id="org.echocat.jomon.spring.BeanProvider" class="org.echocat.jomon.spring.BeanProvider" />
    <alias name="org.echocat.jomon.spring.BeanProvider" alias="org.echocat.jomon.runtime.instance.InstanceProvider" />

    <bean name="customEditorConfigurer" class="org.springframework.beans.factory.config.CustomEditorConfigurer">
        <property name="propertyEditorRegistrars">
            <array>
                <bean class="org.echocat.jomon.spring.types.BasePropertyEditorRegistrar" />
            </array>
        </property>
    </bean>

    <bean id="org.echocat.jomon.cache.CacheRepository.listeners" class="org.echocat.jomon.spring.AutomaticCacheListenerDiscovery" lazy-init="true" />
    <bean id="org.echocat.jomon.cache.CombinedCacheCreator.delegates" class="org.echocat.jomon.spring.AutomaticCacheCreatorDiscovery" lazy-init="true"
          p:excludes="org.echocat.jomon.cache.management.CombinedCacheCreator" />
    <bean id="org.echocat.jomon.cache.management.CacheCreator" class="org.echocat.jomon.cache.management.CombinedCacheCreator" lazy-init="true"
          p:delegates-ref="org.echocat.jomon.cache.CombinedCacheCreator.delegates" />

    <bean id="org.echocat.jomon.cache.management.CacheRepository" class="org.echocat.jomon.cache.management.DefaultCacheRepository" lazy-init="true"
          c:cacheCreator-ref="org.echocat.jomon.cache.management.CacheCreator"
          p:listeners-ref="org.echocat.jomon.cache.CacheRepository.listeners" />
    <alias name="org.echocat.jomon.cache.management.CacheRepository" alias="org.echocat.jomon.cache.management.CacheProvider" />

</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy