<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/beans"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

    <bean id="objectAssociationDao" class="com.armedia.acm.plugins.objectassociation.dao.ObjectAssociationDao"/>

    <bean id="objectAssociationEventPublisher" class="com.armedia.acm.plugins.objectassociation.service.ObjectAssociationEventPublisher"/>

    <bean id="objectAssociationService" class="com.armedia.acm.plugins.objectassociation.service.ObjectAssociationServiceImpl">
        <property name="springContextHolder" ref="acmContextHolder"/>
        <property name="objectAssociationDao" ref="objectAssociationDao"/>
        <property name="executeSolrQuery" ref="executeSolrQuery"/>
        <property name="objectAssociationEventPublisher" ref="objectAssociationEventPublisher"/>
    </bean>

    <bean id="referenceEventListener" class="com.armedia.acm.plugins.objectassociation.service.ReferenceEventListener">
        <property name="objectAssociationEventPublisher" ref="objectAssociationEventPublisher"/>
    </bean>

    <bean class="com.armedia.acm.plugins.objectassociation.tranformer.ObjectAssociationToSolrTransformer"
        id="objectAssociationToSolrTransformer">
        <property name="objectAssociationDao" ref="objectAssociationDao"/>
    </bean>

</beans>