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

com.servicerocket.confluence.randombits.metadata-context.xml Maven / Gradle / Ivy

There is a newer version: 2.5.12
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:osgi="http://www.springframework.org/schema/osgi"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
                http://www.springframework.org/schema/osgi
                http://www.springframework.org/schema/osgi/spring-osgi.xsd">

    <import resource="classpath:com/servicerocket/confluence/randombits/support-context.xml" />

    <osgi:reference id="contentPropertyManager" interface="com.atlassian.confluence.core.ContentPropertyManager" />
    <osgi:reference id="cacheManager" interface="com.atlassian.cache.CacheManager" />
    <osgi:reference id="pluginEventManager" interface="com.atlassian.plugin.event.PluginEventManager" />
    <osgi:reference id="labelManager" interface="com.atlassian.confluence.labels.LabelManager"/>
    <osgi:reference id="contentEntityManager" interface="com.atlassian.confluence.core.ContentEntityManager"/>

    <bean id="metadataManager" name="MetadataManager"
          class="com.servicerocket.confluence.randombits.metadata.impl.DefaultMetadataManager">
        <constructor-arg index="0" ref="cacheManager"/>
        <constructor-arg index="1" ref="contentPropertyManager"/>
        <constructor-arg index="2" ref="contentEntityManager"/>
    </bean>

    <bean id="attachmentHandler" name="AttachmentHandler" class="com.servicerocket.confluence.randombits.metadata.impl.handler.AttachmentHandler">
        <constructor-arg index="0" ref="attachmentManager"/>
        <constructor-arg index="1" ref="contentEntityManager"/>
        <constructor-arg index="2" ref="metadataManager"/>
        <constructor-arg index="3" ref="attachmentReferenceMigrator"/>
    </bean>

    <bean id="contentEntityObjectHandler" name="ContentEntityObjectHandler" class="com.servicerocket.confluence.randombits.metadata.impl.handler.ContentEntityObjectHandler">
        <constructor-arg ref="contentEntityManager"/>
    </bean>

    <bean id="evaluatedNumberHandler" name="EvaluatedNumberHandler" class="com.servicerocket.confluence.randombits.metadata.impl.handler.EvaluatedNumberHandler">
        <constructor-arg index="0" ref="contentEntityManager"/>
        <constructor-arg index="1" ref="metadataManager"/>
    </bean>

    <bean id="labelHandler" name="LabelHandler" class="com.servicerocket.confluence.randombits.metadata.impl.handler.LabelHandler">
        <constructor-arg ref="labelManager"/>
    </bean>

    <bean id="listHandler" name="ListHandler" class="com.servicerocket.confluence.randombits.metadata.impl.handler.ListHandler">
        <constructor-arg ref="metadataManager"/>
    </bean>

    <bean id="mapHandler" name="MapHandler" class="com.servicerocket.confluence.randombits.metadata.impl.handler.MapHandler">
        <constructor-arg ref="metadataManager"/>
    </bean>

    <bean id="setHandler" name="SetHandler" class="com.servicerocket.confluence.randombits.metadata.impl.handler.SetHandler">
        <constructor-arg ref="metadataManager"/>
    </bean>

    <bean id="userHandler" name="UserHandler" class="com.servicerocket.confluence.randombits.metadata.impl.handler.UserHandler">
        <constructor-arg ref="userAccessor"/>
    </bean>

    <bean id="wikiReferenceHandler" name="WikiReferenceHandler" class="com.servicerocket.confluence.randombits.metadata.impl.handler.WikiReferenceHandler"/>

    <bean id="attachmentReferenceMigrator" name="AttachmentReferenceMigrator" class="com.servicerocket.confluence.randombits.metadata.migration.AttachmentReferenceMigrator"/>
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy