<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<beans>

    <!-- Which services should be loaded -->

    <bean id="ServiceConfig" class="org.gridsphere.tmf.ActivationConfig">
        <property name="activationList">
            <set>
                <value>MailService</value>
            </set>
        </property>
    </bean>

    <!-- AOL AIM Service -->

    <bean id="AIMConfig" class="org.gridsphere.tmf.services.config.AIMConfig">
        <constructor-arg index="0">
            <value>aim.properties</value>
        </constructor-arg>
    </bean>

    <bean id="AIMService" class="org.gridsphere.tmf.services.impl.JaimBotService">
        <constructor-arg index="0">
            <ref bean="AIMConfig"/>
        </constructor-arg>
    </bean>

    <!-- Mail Service -->

    <bean id="MailConfig" class="org.gridsphere.tmf.services.config.MailConfig">
        <constructor-arg index="0">
            <value>mail.properties</value>
        </constructor-arg>
    </bean>

    <bean id="MailService" class="org.gridsphere.tmf.services.impl.MailService">
        <constructor-arg index="0">
            <ref bean="MailConfig"/>
        </constructor-arg>
    </bean>


</beans>
