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

commerce.broadleaf-open-admin-platform.1.6.0-GA.source-code.applicationContext-servlet-admin.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:aop="http://www.springframework.org/schema/aop"
       xmlns:mvc="http://www.springframework.org/schema/mvc"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
            http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
            http://www.springframework.org/schema/context
            http://www.springframework.org/schema/context/spring-context-2.5.xsd
            http://www.springframework.org/schema/aop
            http://www.springframework.org/schema/aop/spring-aop.xsd
            http://www.springframework.org/schema/mvc
            http://www.springframework.org/schema/mvc/spring-mvc.xsd
            http://www.springframework.org/schema/tx
            http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">

    <aop:config/>
    
    <bean id="multipartResolver" class="org.broadleafcommerce.openadmin.server.service.artifact.upload.UploadMultipartResolver"/>

    <bean id="blUploadController" class="org.broadleafcommerce.openadmin.server.service.artifact.upload.UploadAddOrUpdateController">
        <property name="dynamicEntityRemoteService" ref="blDynamicEntityRemoteService"/>
        <property name="exploitProtectionService" ref="blExploitProtectionService"/>
    </bean>

    <bean id="blUploadCompletedView" class="org.broadleafcommerce.openadmin.server.service.artifact.upload.UploadCompletedView"/>

    <bean class="org.springframework.web.servlet.view.BeanNameViewResolver">
        <property name="order" value="1"/>
    </bean>

    <bean class="org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter"/>
    <bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter"/>

    <bean id="adminUrlMapping" class="org.broadleafcommerce.openadmin.security.CompatibleGWTSecuredHandler">
        <property name="mappings">
            <map>
                <entry key="/**/security.service" value-ref="blAdminSecurityRemoteService" />
                <entry key="/**/dynamic.entity.service" value-ref="blDynamicEntityRemoteService" />
                <entry key="/**/upload.progress.service" value-ref="blUploadRemoteService" />
                <entry key="/**/utility.service" value-ref="blUtilityRemoteService" />
            </map>
        </property>
        <property name="serviceExporterFactory">
            <bean class="org.broadleafcommerce.openadmin.security.CompatibleGWTSecuredRPCServiceExporterFactory"/>
        </property>
    </bean>
	
</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy