<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC  "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<!--
    This is a WebApplicationContext for the use of the Gateway servlets.   The HttpTransportModule arranges
    to have this context's parent set to point to the Gateway's global ApplicationContext.

    Any beans defined in this file will be visible only to servlets, which are specific to the HTTP transport.
    New beans for the Gateway should be normally placed in one of the Gateway's context config files instead  (ie,
    ssgApplicationContext.xml, dataAccessContext.xml, or adminContext.xml).
 -->
<beans>

    <!--
      Export Spring Beans to servlet context.
    -->
    <bean class="org.springframework.web.context.support.ServletContextAttributeExporter">
        <property name="attributes">
            <map>
                <entry key="auditContextFactory" value-ref="auditContextFactory"/>
                <entry key="serverConfig" value-ref="serverConfig"/>
                <entry key="remotingProvider" value-ref="remotingProvider"/>
                <entry key="licenseManager" value-ref="licenseManager"/>
                <entry key="adminLogin" value-ref="adminLogin"/>
                <entry key="adminLoginHelper" value-ref="adminLoginHelper"/>
                <entry key="ssgConnectorFinder">
                    <bean class="com.l7tech.server.transport.http.DefaultSsgConnectorFinder"/>
                </entry>
            </map>
        </property>
    </bean>

</beans>
