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 18:49:27 UTC

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

Andrew Chung created REEF-894:
---------------------------------

             Summary: GetBridgeInjector should return 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)