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)