<?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: ServiceRegistry or Spring injection? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297947#M251077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've got a nasty feeling that alfresco's version of spring is so old it's not got @autowired.&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes updating spring is on the todo list.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2014 15:32:10 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2014-02-04T15:32:10Z</dc:date>
    <item>
      <title>ServiceRegistry or Spring injection?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297942#M251072</link>
      <description>What is the best way of retrieving the Repository Services, by using the ServiceRegistry or by wiring it together using Spring injection? What are the advantages and disadvantages of either way?</description>
      <pubDate>Tue, 04 Feb 2014 07:59:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297942#M251072</guid>
      <dc:creator>sandermvdb</dc:creator>
      <dc:date>2014-02-04T07:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceRegistry or Spring injection?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297943#M251073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Injecting only required services is best practice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 13:25:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297943#M251073</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2014-02-04T13:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceRegistry or Spring injection?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297944#M251074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you mean the best way is to only inject the ServiceRegistry and get all other services from this ServiceRegistry?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And why is this 'better' than injecting all necessary services using Spring?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 13:35:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297944#M251074</guid>
      <dc:creator>sandermvdb</dc:creator>
      <dc:date>2014-02-04T13:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceRegistry or Spring injection?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297945#M251075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No.&amp;nbsp;&amp;nbsp; IMHO I'm allergic to the service registry and wish it had never been written.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using spring then you inject your dependencies. That's what spring does!&amp;nbsp;&amp;nbsp; Then you can unit test your code,&amp;nbsp; write interceptors,&amp;nbsp; restructure your code and clearly see the dependencies.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you use the service regictry it injects a big blob of junk into your code that you have no control over.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 13:44:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297945#M251075</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-02-04T13:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceRegistry or Spring injection?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297946#M251076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanx for this helpfull comment!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And how about the Spring annotation @Autowired? Can this be used with Alfresco (so I don't need the bean refs in the XML and the setters in my Java code)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 14:01:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297946#M251076</guid>
      <dc:creator>sandermvdb</dc:creator>
      <dc:date>2014-02-04T14:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceRegistry or Spring injection?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297947#M251077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've got a nasty feeling that alfresco's version of spring is so old it's not got @autowired.&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes updating spring is on the todo list.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 15:32:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297947#M251077</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-02-04T15:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceRegistry or Spring injection?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297948#M251078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, then I will use the regular way of injecting services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tx!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 15:35:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/serviceregistry-or-spring-injection/m-p/297948#M251078</guid>
      <dc:creator>sandermvdb</dc:creator>
      <dc:date>2014-02-04T15:35:35Z</dc:date>
    </item>
  </channel>
</rss>

