<!-- $This file is distributed under the terms of the license in LICENSE$ -->
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
	xmlns:context="http://www.springframework.org/schema/context"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
           http://www.springframework.org/schema/aop
           http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
           http://www.springframework.org/schema/context
           http://www.springframework.org/schema/context/spring-context-2.5.xsd">

	<bean id="capability_map"
		  class="edu.cornell.mannlib.vitro.webapp.visualization.capabilitymap.CapabilityMapRequestHandler" />

	<bean id="cumulative_pub_count"
		  class="edu.cornell.mannlib.vitro.webapp.visualization.personpubcount.CumulativeCountRequestHandler" />

	<bean id="person_pub_count"
		class="edu.cornell.mannlib.vitro.webapp.visualization.personpubcount.PersonPublicationCountRequestHandler" />

	<bean id="utilities"
		class="edu.cornell.mannlib.vitro.webapp.visualization.utilities.UtilitiesRequestHandler" />

	<bean id="coauthorship"
		class="edu.cornell.mannlib.vitro.webapp.visualization.coauthorship.CoAuthorshipRequestHandler" />

	<bean id="person_grant_count"
		class="edu.cornell.mannlib.vitro.webapp.visualization.persongrantcount.PersonGrantCountRequestHandler" />

	<bean id="person_level"
		class="edu.cornell.mannlib.vitro.webapp.visualization.personlevel.PersonLevelRequestHandler" />

	<bean id="coprincipalinvestigator"
		class="edu.cornell.mannlib.vitro.webapp.visualization.coprincipalinvestigator.CoPIGrantCountRequestHandler" />

    <bean id="pub_temporal"
        class="edu.cornell.mannlib.vitro.webapp.visualization.temporalgraph.TemporalPublicationVisualizationRequestHandler" />

    <bean id="grant_temporal"
        class="edu.cornell.mannlib.vitro.webapp.visualization.temporalgraph.TemporalGrantVisualizationRequestHandler" />

    <bean id="map_of_science"
        class="edu.cornell.mannlib.vitro.webapp.visualization.mapofscience.MapOfScienceVisualizationRequestHandler" />

	<bean id="regenerate_vis_models"
        class="edu.cornell.mannlib.vitro.webapp.visualization.modelconstructor.ModelConstructorRequestHandler" />

	<bean id="tools"
        class="edu.cornell.mannlib.vitro.webapp.visualization.tools.ToolsRequestHandler" />

	<bean id="visualizationInjector"
		class="edu.cornell.mannlib.vitro.webapp.controller.visualization.VisualizationInjector">
		<property name="visualizations">
			<map>
				<entry key="capabilitymap">
					<ref bean="capability_map"></ref>
				</entry>

				<entry key="cumulative_pub_count">
					<ref bean="cumulative_pub_count"></ref>
				</entry>

				<entry key="person_pub_count">
					<ref bean="person_pub_count"></ref>
				</entry>

				<entry key="utilities">
					<ref bean="utilities"></ref>
				</entry>

				<entry key="coauthorship">
					<ref bean="coauthorship"></ref>
				</entry>

				<entry key="person_grant_count">
					<ref bean="person_grant_count"></ref>
				</entry>

				<entry key="person_level">
					<ref bean="person_level"></ref>
				</entry>

				<entry key="author-network">
					<ref bean="person_level"></ref>
				</entry>

				<entry key="investigator-network">
					<ref bean="person_level"></ref>
				</entry>

                <!--
                <entry key="entity_comparison">
                    <ref bean="entity_comparison"></ref>
                </entry>
                -->

                <entry key="entity_comparison">
                    <ref bean="pub_temporal"></ref>
                </entry>

                <entry key="pub_temporal">
                    <ref bean="pub_temporal"></ref>
                </entry>

                <entry key="publication-graph">
                    <ref bean="pub_temporal"></ref>
                </entry>

				<entry key="coprincipalinvestigator">
					<ref bean="coprincipalinvestigator"></ref>
				</entry>

				<entry key="entity_grant_count">
					<ref bean="grant_temporal"></ref>
				</entry>

                <entry key="grant_temporal">
                    <ref bean="grant_temporal"></ref>
                </entry>

                <entry key="grant-graph">
                    <ref bean="grant_temporal"></ref>
                </entry>

                <entry key="map-of-science">
                    <ref bean="map_of_science"></ref>
                </entry>

				<entry key="refresh-cache">
                    <ref bean="regenerate_vis_models"></ref>
                </entry>

                <entry key="tools">
                    <ref bean="tools"></ref>
                </entry>

			</map>
		</property>

	</bean>

</beans>
