Migrate component to spring for Confluence 7.4

Hello,

I have a very old plugin using component and component-import module.
I m looking for a solution to migrate them to spring.

    <component name="teamDaoFactory" key="teamDaoFactory"
               class="com.bloomberg.confluence.plugin.orm.daos.TeamDaoFactory"/>

    <component name="deletedContentManager" key="deletedContentManager"
               class="com.bloomberg.confluence.plugin.services.impl.DeletedContentManagerImpl"
               interface="com.bloomberg.confluence.plugin.services.DeletedContentManager"/>

    <component name="deletedContentListener" key="deletedContentListener"
               class="com.bloomberg.confluence.plugin.events.DeletedContentListener"/>

    <component name="deletedContentService" key="deletedContentService"
               class="com.bloomberg.confluence.plugin.rest.DeletedContentService"/>

    <component name="pagesRestService" key="pagesRestService"
               class="com.bloomberg.confluence.plugin.rest.PagesRestService"/>