<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ConfigurationService in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/configurationservice/m-p/327088#M14089</link>
    <description>&lt;P&gt;The &lt;CODE&gt;ConfigurationService&lt;/CODE&gt; is designed to read configuration only, not to write it.&lt;/P&gt;
&lt;P&gt;Writing configuration is fraught with peril. Consider what would happen in cluster, when there are several Nuxeo instances running; how would that work?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2017 11:01:34 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2017-10-04T11:01:34Z</dc:date>
    <item>
      <title>ConfigurationService</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/configurationservice/m-p/327087#M14088</link>
      <description>&lt;P&gt;I am using the &lt;CODE&gt;ConfigurationService&lt;/CODE&gt; to define properties that modify the behavior of code I am contributing. One such property is &lt;CODE&gt;enabled&lt;/CODE&gt; for a piece of functionality. If - at runtime - the code detects some downstream dependency is unavailable, I would like to set the property to &lt;CODE&gt;disabled&lt;/CODE&gt;. E.g. the component can't complete a task, so it turns itself off. But the &lt;CODE&gt;ConfigurationService&lt;/CODE&gt; only offers &lt;CODE&gt;get&lt;/CODE&gt; functionality, not &lt;CODE&gt;set&lt;/CODE&gt; functionality. I could override the &lt;CODE&gt;ConfigurationService&lt;/CODE&gt;-provided values with Java a &lt;CODE&gt;Property&lt;/CODE&gt; but that would necessitate first checking the Java &lt;CODE&gt;Property&lt;/CODE&gt; then checking the &lt;CODE&gt;ConfigurationService&lt;/CODE&gt; property. Is there is recommended best practice here?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 13:55:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/configurationservice/m-p/327087#M14088</guid>
      <dc:creator>Eric_Ace</dc:creator>
      <dc:date>2017-09-21T13:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: ConfigurationService</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/configurationservice/m-p/327088#M14089</link>
      <description>&lt;P&gt;The &lt;CODE&gt;ConfigurationService&lt;/CODE&gt; is designed to read configuration only, not to write it.&lt;/P&gt;
&lt;P&gt;Writing configuration is fraught with peril. Consider what would happen in cluster, when there are several Nuxeo instances running; how would that work?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 11:01:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/configurationservice/m-p/327088#M14089</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2017-10-04T11:01:34Z</dc:date>
    </item>
  </channel>
</rss>

