title: Grails domain class properties from properties file
body: <p>In my grails application I want to read some values from properties file and set it to Grails Domain class static property at startup.</p>
  
  <p>Example </p>
  
  <pre><code>Class A{
  
    static myValues="1,2";
  } 
  
   class B{
     static myValues="2,3";
    }
  </code></pre>
  
  <p>In the above example I have directly given the inputs..Instead of that I want to read it from one config.properties file which will have the following</p>
  
  <p>A=1,2</p>
  
  <p>B=2,3</p>
  
  <p>Is it possible to do that in grails.Help me please.</p>