public void initialise(){
  if (log.isDebugEnabled()) {
    log.debug("now initialising conf");
  }
  initDecodeUsing(decodeUsing);
  boolean rulesOk=true;
  for (int i=0; i < rules.size(); i++) {
    final Rule rule=(Rule)rules.get(i);
    if (!rule.initialise(context)) {
      rulesOk=false;
    }
  }
  for (int i=0; i < outboundRules.size(); i++) {
    final OutboundRule outboundRule=(OutboundRule)outboundRules.get(i);
    if (!outboundRule.initialise(context)) {
      rulesOk=false;
    }
  }
  for (int i=0; i < catchElems.size(); i++) {
    final CatchElem catchElem=(CatchElem)catchElems.get(i);
    if (!catchElem.initialise(context)) {
      rulesOk=false;
    }
  }
  if (rulesOk) {
    ok=true;
  }
  if (log.isDebugEnabled()) {
    log.debug("conf status " + ok);
  }
}

public void initialise ( ) { if ( log . isDebugEnabled ( ) ) { log . debug ( "now initialising conf" ) ; } initDecodeUsing ( decodeUsing ) ; boolean rulesOk = true ; for ( int i = 0 ; i < rules . size ( ) ; i ++ ) { final Rule rule = ( Rule ) rules . get ( i ) ; if ( ! rule . initialise ( context ) ) { rulesOk = false ; } } for ( int i = 0 ; i < outboundRules . size ( ) ; i ++ ) { final OutboundRule outboundRule = ( OutboundRule ) outboundRules . get ( i ) ; if ( ! outboundRule . initialise ( context ) ) { rulesOk = false ; } } for ( int i = 0 ; i < catchElems . size ( ) ; i ++ ) { final CatchElem catchElem = ( CatchElem ) catchElems . get ( i ) ; if ( ! catchElem . initialise ( context ) ) { rulesOk = false ; } } if ( rulesOk ) { ok = true ; } if ( log . isDebugEnabled ( ) ) { log . debug ( "conf status " + ok ) ; } }
initialise the conf file . this will run initialise on each rule and condition in the conf file .
