You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Andrew Chung (JIRA)" <ji...@apache.org> on 2015/10/30 19:55:27 UTC

[jira] [Updated] (REEF-894) GetBridgeInjector should not create a new Injector

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

Andrew Chung updated REEF-894:
------------------------------
    Summary: GetBridgeInjector should not create a new Injector  (was: GetBridgeInjector should return not create a new Injector)

> GetBridgeInjector should not create a new Injector
> --------------------------------------------------
>
>                 Key: REEF-894
>                 URL: https://issues.apache.org/jira/browse/REEF-894
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF.NET, REEF.NET Driver
>            Reporter: Andrew Chung
>            Assignee: Andrew Chung
>
> {{GetBridgeInjector}} in {{BridgeConfigurationProvider}} violates the singleton guarantee we have for our Driver by returning a new {{IInjector}} instantiated with a new {{BridgeConfiguration}} everytime we call it. We should make {{BridgeConfiguration}} and the {{IInjector}} retrieved from {{GetBridgeInjector}} lazy, static singletons instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)