<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 01:08:24 CET 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Magnolia - Issue tracker</title>
    <link>https://jira.magnolia-cms.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-uk</language>    <build-info>
        <version>9.4.2</version>
        <build-number>940002</build-number>
        <build-date>19-01-2023</build-date>
    </build-info>


<item>
            <title>[DOCU-362] Provide IoC/DI components documentation</title>
                <link>https://jira.magnolia-cms.com/browse/DOCU-362</link>
                <project id="10190" key="DOCU">Documentation</project>
                    <description>&lt;p&gt;Currently documentation.magnolia-cms.com doesn&apos;t seem to contain documentation on &quot;Components&quot; in the sense of Java objects provided by Dependency Injection.&lt;/p&gt;

&lt;p&gt;In particular &lt;a href=&quot;http://documentation.magnolia-cms.com/reference/configuration.html#Components&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://documentation.magnolia-cms.com/reference/configuration.html#Components&lt;/a&gt; doesn&apos;t say much about what is explained in &lt;a href=&quot;http://wiki.magnolia-cms.com/display/DEV/Components+in+Magnolia&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://wiki.magnolia-cms.com/display/DEV/Components+in+Magnolia&lt;/a&gt;. Also it isn&apos;t clear whether the latter is definitive, and it seems to be geared more towards Magnolia employees than developers trying to learn developing for Magnolia.&lt;/p&gt;</description>
                <environment></environment>
        <key id="27025">DOCU-362</key>
            <summary>Provide IoC/DI components documentation</summary>
                <type id="2" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10891&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/neutral.gif">Neutral</priority>
                        <status id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ahietala">Antti Hietala</assignee>
                                    <reporter username="jfrantzius">Joerg von Frantzius</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Dec 2012 11:08:51 +0100</created>
                <updated>Tue, 3 Nov 2015 14:40:15 +0100</updated>
                                                                            <component>content</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="55480" author="ahietala" created="Thu, 3 Jan 2013 14:27:57 +0100"  >&lt;p&gt;Moved &lt;a href=&quot;http://documentation.magnolia-cms.com/reference/module-mechanism.html#Javaobjectcomponents&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Java object component&lt;/a&gt; information out of the Configuration article into Module mechanism. Described the basics of dependency injection with a simple example.&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;http://wiki.magnolia-cms.com/display/DEV/Components+in+Magnolia&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Components in Magnolia&lt;/a&gt; wiki page is too technical for end users. Think of it as reference documentation. The &lt;a href=&quot;http://wiki.magnolia-cms.com/display/DEV/Concept+IOC+in+Magnolia&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Concept IOC in Magnolia&lt;/a&gt; wiki page describes how the concept of inversion of control (IoC) was adopted at Magnolia and how dependency injection (DI) was implemented.&lt;/p&gt;</comment>
                            <comment id="74734" author="jfrantzius" created="Mon, 2 Dec 2013 10:26:56 +0100"  >&lt;p&gt;Hi Antti,&lt;/p&gt;

&lt;p&gt;IMHO the documentation is missing what can be injected out-of-the-box with Magnolia:&lt;/p&gt;

&lt;p&gt;anything configured in info.magnolia.objectfactory.guice.GuiceContextAndScopesConfigurer:&lt;br/&gt;
info.magnolia.context.Context&lt;br/&gt;
info.magnolia.context.WebContext&lt;br/&gt;
info.magnolia.cms.core.AggregationState&lt;br/&gt;
info.magnolia.cms.core.Channel&lt;br/&gt;
javax.servlet.http.HttpSession&lt;br/&gt;
javax.servlet.http.HttpServletRequest&lt;br/&gt;
javax.servlet.http.HttpServletResponse&lt;/p&gt;

&lt;p&gt;Plus anything with a public no-arg default constructor can be injected, as described in &lt;a href=&quot;https://code.google.com/p/google-guice/wiki/JustInTimeBindings&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://code.google.com/p/google-guice/wiki/JustInTimeBindings&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;All in all, the &lt;a href=&quot;http://documentation.magnolia-cms.com/display/DOCS/Module+management#Modulemanagement-Javaobjectcomponents&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://documentation.magnolia-cms.com/display/DOCS/Module+management#Modulemanagement-Javaobjectcomponents&lt;/a&gt; part might deserve its own page, as it gets lost a bit in the page on Modules?&lt;/p&gt;

&lt;p&gt;Dependency Injection (DI) aka Inversion of Control (IoC) is very important for writing testable code, which is why this could need some more exposure...&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_14166" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Acceptance criteria</customfieldname>
                        <customfieldvalues>
                            
        <checklist>
        <![CDATA[
                            




                
                                    <div class="o-completion" style="display: flex; flex-shrink: 0;"><span  class="aui-lozenge aui-lozenge-complete" style="font-size: 12px; font-weight: normal; display: flex; flex-direction: row; align-items: center;" ><span style="padding-right: 4px; vertical-align: middle;"><svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="white"><path clip-rule="evenodd" d="m10.41037,3.42544l-7.86501,0c-0.72395,0 -1.31084,0.58688 -1.31084,1.31084l0,7.86508c0,0.7239 0.58689,1.3108 1.31084,1.3108l7.86501,0c0.724,0 1.3109,-0.5869 1.3109,-1.3108l0,-7.86508c0,-0.72396 -0.5869,-1.31084 -1.3109,-1.31084zm-7.86501,-0.65542c-1.08593,0 -1.96626,0.88032 -1.96626,1.96626l0,7.86508c0,1.0859 0.88033,1.9662 1.96626,1.9662l7.86501,0c1.086,0 1.9663,-0.8803 1.9663,-1.9662l0,-7.86508c0,-1.08594 -0.8803,-1.96626 -1.9663,-1.96626l-7.86501,0z" fill-rule="evenodd"/><path d="m5.09049,10.18526l-1.82767,-1.82766l-0.78479,0.78479l2.61246,2.61246l5.38758,-5.38754l-0.78483,-0.78479l-4.60275,4.60274z"/></svg></span><span>Empty</span></span></div>
                        ]]>
    </checklist>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10111" key="com.atlassian.jira.toolkit:reporterdomain">
                        <customfieldname>Company</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>aperto.de</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10031" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 3 Jan 2013 14:27:57 +0100</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12730" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14151" key="com.atlassian.jira.toolkit:message">
                        <customfieldname>Docu info</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10061" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comm is not jira-dev</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>mmuehlebach</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 11 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ahietala</customfieldvalue>
            <customfieldvalue>jfrantzius</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02d4n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13864</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10054" key="com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield">
                        <customfieldname>Reporter&apos;s SLA</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Partner-MI-PA&lt;br/&gt;
</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_14145" key="com.intenso.jira.issue-templates:issue-templates-customfield">
                        <customfieldname>Template</customfieldname>
                        <customfieldvalues>
                            


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_15131" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Time in Discovery</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>