You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2020/11/30 10:20:00 UTC

[jira] [Closed] (ISIS-2363) Recently removed ServiceRegistry.injectServicesInto() is still recommended in docs

     [ https://issues.apache.org/jira/browse/ISIS-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber closed ISIS-2363.
----------------------------
    Resolution: Fixed

Docs updated with accurate information or placing TODO markers.

This also resulted in a revisit of the FactoryService. Its likely we'll gonna remove some of the factory methods that take a Class<?> as an argument in favor of replacements that take an Object as an argument:

"new is the new new"

> Recently removed ServiceRegistry.injectServicesInto() is still recommended in docs
> ----------------------------------------------------------------------------------
>
>                 Key: ISIS-2363
>                 URL: https://issues.apache.org/jira/browse/ISIS-2363
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Docs &amp; Website
>    Affects Versions: 2.0.0-M3
>            Reporter: Brian Kalbfus
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-M5
>
>
> The docs [1] have this text:
> Alternatively the object can be instantiated simply using {{new}}, then services injected using [{{ServiceRegistry}}|https://isis.apache.org/refguide/2.0.0-M3/applib-svc/ServiceRegistry.html]'s {{injectServicesInto(…​)}} method.
>  
> This method is missing in 2.0.0-M3.  I found from Slack[2] that a replacement might be serviceInjector.injectServicesInto()
>  
> [1]: [https://isis.apache.org/refguide/2.0.0-M3/applib-svc/about.html#using-the-services]
> [2]: [https://the-asf.slack.com/archives/CFC42LWBV/p1579553230202600?thread_ts=1579553230.202600&cid=CFC42LWBV]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)