<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: NodeService injection in a cutom contentstore in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/nodeservice-injection-in-a-cutom-contentstore/m-p/260493#M213623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;although the general best practice is to use the public service beans in all instances of customizations to Alfresco, there are some cases where they cannot / should not be used. Due to the dependency of the NodeService (especially the mlNodeService) on the ContentService and its content stores, you have a cyclic dependency if you require the public service bean "NodeService". Instead, you should use the standard service bean "nodeService" - this is the same approach taken by Alfresco for their Enterprise Content Store Selector.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If at all possible, you should always avoid using the ApplicationContext. The only really valid use case I have found so far are HTTP servlet filters that can not be constructed via Spring - unless you use a proxy filter class, which Spring fortunately provides and thus even limits that use case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Jul 2012 13:42:03 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2012-07-01T13:42:03Z</dc:date>
    <item>
      <title>NodeService injection in a cutom contentstore</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/nodeservice-injection-in-a-cutom-contentstore/m-p/260492#M213622</link>
      <description>Hello,I'm developing a custom Alfresco Content Store (by implementing the org.alfresco.repo.content.AbstractContentStore class). I'm using Alfresco Enterprise 3.4.9 and 4.0.1. Within this content store I need to get some information using NodeService. But when I'm setting the NodeService to my custo</description>
      <pubDate>Thu, 28 Jun 2012 07:24:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/nodeservice-injection-in-a-cutom-contentstore/m-p/260492#M213622</guid>
      <dc:creator>eu_81</dc:creator>
      <dc:date>2012-06-28T07:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: NodeService injection in a cutom contentstore</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/nodeservice-injection-in-a-cutom-contentstore/m-p/260493#M213623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;although the general best practice is to use the public service beans in all instances of customizations to Alfresco, there are some cases where they cannot / should not be used. Due to the dependency of the NodeService (especially the mlNodeService) on the ContentService and its content stores, you have a cyclic dependency if you require the public service bean "NodeService". Instead, you should use the standard service bean "nodeService" - this is the same approach taken by Alfresco for their Enterprise Content Store Selector.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If at all possible, you should always avoid using the ApplicationContext. The only really valid use case I have found so far are HTTP servlet filters that can not be constructed via Spring - unless you use a proxy filter class, which Spring fortunately provides and thus even limits that use case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jul 2012 13:42:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/nodeservice-injection-in-a-cutom-contentstore/m-p/260493#M213623</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-07-01T13:42:03Z</dc:date>
    </item>
  </channel>
</rss>

