META-INF.fujion-dispatcher-servlet.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" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:ffc="http://www.fujion.org/schema/component" xmlns:ffe="http://www.fujion.org/schema/eventtype" 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 http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd http://www.fujion.org/schema/component http://www.fujion.org/schema/component-extensions.xsd http://www.fujion.org/schema/eventtype http://www.fujion.org/schema/eventtype-extensions.xsd"> <import resource="classpath*:/META-INF/fujion-config.xml" /> <context:property-placeholder location="classpath*:/META-INF/*-default.properties,${org.fujion.location.properties:classpath:fujion*.properties}" ignore-resource-not-found="true" /> <context:component-scan base-package="org.fujion" /> <ffc:component-scan package="org.fujion.component" /> <ffe:eventtype-scan package="org.fujion.event" /> <mvc:annotation-driven /> <bean id="fujion_WebSocketHandler" class="org.fujion.websocket.WebSocketHandler" /> <bean class="org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean"> <property name="asyncSendTimeout" value="${org.fujion.websocket.asyncSendTimeout}" /> <property name="maxSessionIdleTimeout" value="${org.fujion.websocket.maxSessionIdleTimeout}" /> <property name="maxBinaryMessageBufferSize" value="${org.fujion.websocket.maxBinaryMessageBufferSize}" /> <property name="maxTextMessageBufferSize" value="${org.fujion.websocket.maxTextMessageBufferSize}" /> </bean> <bean id="fujion_Sessions" factory-method="getInstance" class="org.fujion.websocket.Sessions" /> <bean id="fujion_WebJarLocator" factory-method="getInstance" class="org.fujion.webjar.WebJarLocator" /> <bean class="org.fujion.event.EventRequestHandler" /> <bean class="org.fujion.websocket.InitRequestHandler" /> <bean class="org.fujion.client.PingRequestHandler" /> <bean class="org.fujion.logging.LogRequestHandler" /> <bean id="fujion_ComponentScanner" factory-method="getInstance" class="org.fujion.annotation.ComponentScanner" /> <bean id="fujion_EventTypeScanner" factory-method="getInstance" class="org.fujion.annotation.EventTypeScanner" /> <bean id="fujion_ELEvaluator" factory-method="getInstance" class="org.fujion.expression.ELEvaluator" /> <bean id="messageSource" name="msg,message" factory-method="getInstance" class="org.fujion.spring.ClasspathMessageSource" /> <bean id="localeResolver" class="org.springframework.web.servlet.i18n.SessionLocaleResolver"> <property name="defaultLocale" value="en" /> </bean> <bean factory-method="getInstance" class="org.fujion.taglib.TagLibraryRegistry" /> <bean factory-method="getInstance" class="org.fujion.script.ScriptRegistry" /> <bean factory-method="getInstance" depends-on="fujion_WebJarLocator" class="org.fujion.theme.ThemeRegistry" /> <bean id="themeResolver" factory-method="getInstance" class="org.fujion.theme.ThemeResolvers"> <property name="defaultTheme" value="${org.fujion.theme.default:default}"/> </bean> <bean class="org.springframework.web.servlet.theme.CookieThemeResolver"> <property name="defaultThemeName"> <null /> </property> </bean> <bean class="org.fujion.theme.Theme"> <constructor-arg value="default"/> </bean> <bean factory-method="getInstance" class="org.fujion.page.PageDefinitionCache"> <property name="precompiled" value="${org.fujion.page.precompile:}"/> </bean> <bean factory-method="getInstance" class="org.fujion.page.PageParser" /> <bean class="org.fujion.jmx.JMXConsole"> <constructor-arg value="${org.fujion.console.enabled:false}"/> </bean> <bean class="org.fujion.jmx.CacheManagementConsole" /> <bean class="org.fujion.page.PIParserAttribute" /> <bean class="org.fujion.page.PIParserImport" /> <bean class="org.fujion.page.PIParserTagLibrary" /> <bean class="org.springframework.beans.factory.config.MethodInvokingBean"> <property name="staticMethod" value="org.fujion.core.InitLocalizer.init" /> </bean> <bean class="org.springframework.beans.factory.config.MethodInvokingBean"> <property name="staticMethod" value="org.fujion.logging.LogUtil.initSettings" /> <property name="arguments"> <map> <entry key="debug" value="${org.fujion.logging.debug:NONE}" /> <entry key="error" value="${org.fujion.logging.error:BOTH}" /> <entry key="fatal" value="${org.fujion.logging.fatal:BOTH}" /> <entry key="info" value="${org.fujion.logging.info:NONE}" /> <entry key="trace" value="${org.fujion.logging.trace:NONE}" /> <entry key="warn" value="${org.fujion.logging.warn:NONE}" /> </map> </property> </bean> <bean class="org.springframework.beans.factory.config.CustomScopeConfigurer"> <property name="scopes"> <map> <entry key="page"> <bean class="org.fujion.spring.PageScope" /> </entry> </map> </property> </bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy