title: Alfresco: Custom Share Evaluator based on some custom repo webscripts
body: <p>So I'd like to write a new set of evaluators in Share based on the result of some repository webscripts.</p>
  
  <p>The current existing Share evaluators are usable through some XML configuration and are related to Alfresco usual meta-data.</p>
  
  <p>But, I'd like to know how to write my own Java evaluator while re using most of the logic already here (BaseEvaluator). </p>
  
  <p>Suppose I have a repository webscript that returns some JSON like {"result" : "true"}:</p>
  
  <ul>
  <li>How do I access it from my custom Evaluator? Mainly how do I access the proxy URL to alfresco webapp from the Spring context?</li>
  <li>Do I need to write my own async call in Java?</li>
  <li>Where do I find this JSONObject parameter of the required evaluate method?</li>
  </ul>
  
  <p>thanks for your help</p>