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

com.servicerocket.confluence.randombits.support-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: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-1.2.xsd"
       xmlns:osgi="http://www.springframework.org/schema/osgi"
       default-autowire="autodetect">

    <osgi:reference id="timeZoneManager" interface="com.atlassian.sal.api.timezone.TimeZoneManager" />
    <osgi:reference id="localeResolver" interface="com.atlassian.sal.api.message.LocaleResolver" />
    <osgi:reference id="userManager" interface="com.atlassian.sal.api.user.UserManager" />
    <osgi:reference id="i18nResolver" interface="com.atlassian.sal.api.message.I18nResolver" />
    <osgi:reference id="anyTypeDao" interface="com.atlassian.confluence.core.persistence.AnyTypeDao" />
    <osgi:reference id="userAccessor" interface="com.atlassian.confluence.user.UserAccessor" />
    <osgi:reference id="spaceManager" interface="com.atlassian.confluence.spaces.SpaceManager" />
    <osgi:reference id="pageTemplateManager" interface="com.atlassian.confluence.pages.templates.PageTemplateManager" />
    <osgi:reference id="pageManager" interface="com.atlassian.confluence.pages.PageManager" />
    <osgi:reference id="permissionManager" interface="com.atlassian.confluence.security.PermissionManager" />
    <osgi:reference id="contextPathHolder" interface="com.atlassian.confluence.core.ContextPathHolder" />
    <osgi:reference id="attachmentManager" interface="com.atlassian.confluence.pages.AttachmentManager" />
    <osgi:reference id="linkManager" interface="com.atlassian.confluence.links.LinkManager" />
    <osgi:reference id="xhtmlContent" interface="com.atlassian.confluence.xhtml.api.XhtmlContent" />
    <osgi:reference id="themeManager" interface="com.atlassian.confluence.themes.ThemeManager" />
    <osgi:reference id="mailContentManager" interface="com.atlassian.confluence.mail.MailContentManager" />
    <osgi:reference id="crowdService" interface="com.atlassian.crowd.embedded.api.CrowdService" />

    <!-- Environment Provider -->
    <bean id="userProfileProvider" class="com.servicerocket.confluence.randombits.support.core.env.atlassian.UserProfileProvider">
        <constructor-arg index="0" ref="userManager" />
    </bean>
    <bean id="localeProvider" class="com.servicerocket.confluence.randombits.support.core.env.general.LocaleProvider">
        <constructor-arg index="0" ref="localeResolver" />
    </bean>
    <bean id="timeZoneProvider" class="com.servicerocket.confluence.randombits.support.core.env.general.TimeZoneProvider">
        <constructor-arg index="0" ref="timeZoneManager" />
    </bean>
    <bean id="springServletProvider" class="com.servicerocket.confluence.randombits.support.core.env.servlet.SpringServletProvider" />
    <bean id="xWorkServletProvider" class="com.servicerocket.confluence.randombits.support.confluence.env.XWorkServletProvider" />
    <bean id="authenticatedUserProvider" class="com.servicerocket.confluence.randombits.support.confluence.env.AuthenticatedUserProvider" />
    <bean id="macroInfoConversionContextProvider" class="com.servicerocket.confluence.randombits.support.confluence.env.MacroInfoConversionContextProvider" />
    <bean id="pageInfoConfluenceContentProvider" class="com.servicerocket.confluence.randombits.support.confluence.env.PageInfoConfluenceContentProvider" />

    <!-- Converters -->
    <bean id="stringToUserProfilerConverter" class="com.servicerocket.confluence.randombits.support.core.convert.atlassian.StringToUserProfileConverter">
        <constructor-arg index="0" ref="userManager" />
    </bean>
    <bean id="arrayToCollectionConverter" class="com.servicerocket.confluence.randombits.support.core.convert.collection.ArrayToCollectionConverter" />
    <bean id="arrayToIteratorConverter" class="com.servicerocket.confluence.randombits.support.core.convert.collection.ArrayToIteratorConverter" />
    <bean id="enumerationToCollectionConverter" class="com.servicerocket.confluence.randombits.support.core.convert.collection.EnumerationToCollectionConverter" />
    <bean id="enumerationToIteratorConverter" class="com.servicerocket.confluence.randombits.support.core.convert.collection.EnumerationToIteratorConverter" />
    <bean id="iterableToIteratorConverter" class="com.servicerocket.confluence.randombits.support.core.convert.collection.IterableToIteratorConverter" />
    <bean id="iteratorToCollectionConverter" class="com.servicerocket.confluence.randombits.support.core.convert.collection.IteratorToCollectionConverter" />
    <bean id="mapToIteratorConverter" class="com.servicerocket.confluence.randombits.support.core.convert.collection.MapToIteratorConverter" />
    <bean id="calendarToDateConverter" class="com.servicerocket.confluence.randombits.support.core.convert.date.CalendarToDateConverter" />
    <bean id="dateToCalendarConverter" class="com.servicerocket.confluence.randombits.support.core.convert.date.DateToCalendarConverter" />
    <bean id="sqlDateToDateConverter" class="com.servicerocket.confluence.randombits.support.core.convert.date.SqlDateToDateConverter" />
    <bean id="dateToDateTimeConverter" class="com.servicerocket.confluence.randombits.support.confluence.convert.date.DateToDateTimeConverter" />
    <bean id="readableDateTimeToDateConverter" class="com.servicerocket.confluence.randombits.support.confluence.convert.date.ReadableDateTimeToDateConverter" />
    <bean id="searchResultToAttachmentConverter" class="com.servicerocket.confluence.randombits.support.confluence.convert.search.SearchResultToAttachmentConverter" />
    <bean id="searchResultToBlogPostConverter" class="com.servicerocket.confluence.randombits.support.confluence.convert.search.SearchResultToBlogPostConverter" />
    <bean id="searchResultToCommentConverter" class="com.servicerocket.confluence.randombits.support.confluence.convert.search.SearchResultToCommentConverter" />
    <bean id="searchResultToMailConverter" class="com.servicerocket.confluence.randombits.support.confluence.convert.search.SearchResultToMailConverter" />
    <bean id="searchResultToPageConverter" class="com.servicerocket.confluence.randombits.support.confluence.convert.search.SearchResultToPageConverter" />
    <bean id="searchResultToSpaceConverter" class="com.servicerocket.confluence.randombits.support.confluence.convert.search.SearchResultToSpaceConverter" />
    <bean id="stringToUserConverter" class="com.servicerocket.confluence.randombits.support.confluence.convert.user.StringToUserConverter">
        <constructor-arg index="0" ref="userAccessor" />
    </bean>
    <bean id="userProfileToUserConverter" class="com.servicerocket.confluence.randombits.support.confluence.convert.user.UserProfileToUserConverter">
        <constructor-arg index="0" ref="userAccessor" />
    </bean>
    <bean id="userToUserProfileConverter" class="com.servicerocket.confluence.randombits.support.confluence.convert.user.UserToUserProfileConverter">
        <constructor-arg index="0" ref="userManager" />
    </bean>

    <bean id="environmentAssistant" class="com.servicerocket.confluence.randombits.support.core.impl.DefaultEnvironmentAssistant" />

    <bean id="conversionAssistant" class="com.servicerocket.confluence.randombits.support.core.impl.DefaultConversionAssistant"/>

    <bean id="i18nAssistant" class="com.servicerocket.confluence.randombits.support.core.impl.DefaultI18NAssistant">
        <constructor-arg index="0" ref="i18nResolver" />
    </bean>

    <bean id="contextAssistant" class="com.servicerocket.confluence.randombits.support.confluence.DefaultContextAssistant" >
        <constructor-arg index="0" ref="pageTemplateManager" />
        <constructor-arg index="1" ref="pageManager" />
    </bean>

    <bean id="linkAssistant" class="com.servicerocket.confluence.randombits.support.confluence.DefaultLinkAssistant">
        <constructor-arg index="0" ref="permissionManager" />
        <constructor-arg index="1" ref="contextPathHolder" />
        <constructor-arg index="2" ref="environmentAssistant" />
        <constructor-arg index="3" ref="linkManager" />
        <constructor-arg index="4" ref="pageManager" />
        <constructor-arg index="5" ref="attachmentManager" />
    </bean>

    <bean id="servletAssistant" class="com.servicerocket.confluence.randombits.support.confluence.DefaultServletAssistant">
        <constructor-arg index="0" ref="environmentAssistant" />
    </bean>

    <bean id="parameterAssistant" class="com.servicerocket.confluence.randombits.support.core.impl.DefaultParameterAssistant">
        <constructor-arg index="0" ref="environmentAssistant" />
        <constructor-arg index="1" ref="linkAssistant" />
        <constructor-arg index="2" ref="conversionAssistant" />
        <constructor-arg index="3" ref="themeManager" />
    </bean>

    <bean id="macroAssistant" class="com.servicerocket.confluence.randombits.support.confluence.DefaultMacroAssistant">
        <constructor-arg index="0" ref="environmentAssistant" />
        <constructor-arg index="1" ref="xhtmlContent" />
        <constructor-arg index="2" ref="parameterAssistant" />
    </bean>

    <bean id="renderAssistant" class="com.servicerocket.confluence.randombits.support.confluence.render.DefaultRenderAssistant">
        <constructor-arg index="0" ref="xhtmlContent" />
    </bean>
    <bean id="pageGrandchildrenSearch" class="com.servicerocket.confluence.randombits.supplier.confluence.content.PageGrandchildrenSupplierSearch" />
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy