You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@polygene.apache.org by "Niclas Hedhman (JIRA)" <ji...@apache.org> on 2017/12/02 09:19:00 UTC

[jira] [Created] (POLYGENE-280) UnitOfWorkFactory can't be a service

Niclas Hedhman created POLYGENE-280:
---------------------------------------

             Summary: UnitOfWorkFactory can't be a service
                 Key: POLYGENE-280
                 URL: https://issues.apache.org/jira/browse/POLYGENE-280
             Project: Polygene
          Issue Type: Bug
            Reporter: Niclas Hedhman



When we made UnitOfWorkFactory into a Service, with full customization possible, there was an incorrect assumption that it will have the right Module injected into it. IF one use module.defaultServices(), then that is true. However, if one want one's own implementation, it is tedious to declare that in every module. 

Instead, the UnitOfWorkFactory will fall into POLYGENE-279 "Custom @Structure injection types".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)