title: Spring - environment variable - storing in XML and accessing in JAVA
body: <p>I there easy way, how to store variable in XML spring files with something like this:</p>
  
  <pre><code>&lt;systemvariable name="hocuspocus" value="it is working" /&gt;
  </code></pre>
  
  <p>and then access them in Java service/controller layer with something like this?</p>
  
  <pre><code>System.getProperty("hocuspocus");
  </code></pre>
  
  <p>I do not want stored/read .properties file, just one variable.</p>