You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andy LoPresto (JIRA)" <ji...@apache.org> on 2016/08/15 17:29:20 UTC
[jira] [Created] (NIFI-2571) Deprecate NiFiProperties.getInstance()
in 0.x
Andy LoPresto created NIFI-2571:
-----------------------------------
Summary: Deprecate NiFiProperties.getInstance() in 0.x
Key: NIFI-2571
URL: https://issues.apache.org/jira/browse/NIFI-2571
Project: Apache NiFi
Issue Type: Improvement
Components: Core Framework
Affects Versions: 0.7.0
Reporter: Andy LoPresto
As per the discussion on PR 834 ([NIFI-1831]), the singleton pattern of {{NiFiProperties.getInstance()}} is being removed from the 1.0 release. It should be marked as deprecated in 0.x. A {{NiFiPropertiesLoader}} class will be provided and the contexts (processors, reporting tasks, controller services) will gain access to an instance of application properties.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)