title: Listener reloads value of flag for every parameter change
body: <p>I have a listener for parameter change event and flag=0, problem is when 2 parameters are changed at a time there are 2 calls for listener , for the first parameter call flag=1is updated for the use of other parameters ,but listener is reloaded with flag=0</p>
  <p>i tried to call it outside postcall</p>
  <pre><code>public class JobListener&lt;adminFlag&gt; implements EventListener {
       int adminFlag =0;
      @Override
      public void postCall(final Event event, final Object object) throws ListenerException, RemoteException {
      if(parameter is category)
      {
      adminFlag =1;
      }
      
      if(parameter is user)
      {
        if(adminFlag !=1)
        some code;
      }
  }
  </code></pre>
  <p>this remains 1 for every other update also ,how can i fix this .
  or
  any other way ,to do this.</p>