[
https://issues.apache.org/jira/browse/NIFI-2571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann resolved NIFI-2571.
------------------------------------
Resolution: Abandoned
> 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
> Priority: Major
> Labels: nifiproperties, singleton
>
> 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
(v8.20.1#820001)