public void init(String btxn,BusinessTxnConfig btc){
  FilterProcessor fp=null;
  if (btc.getFilter() != null) {
    fp=new FilterProcessor(btxn,btc);
  }
synchronized (filterMap) {
    FilterProcessor oldfp=filterMap.get(btxn);
    if (oldfp != null) {
      globalExclusionFilters.remove(oldfp);
      btxnFilters.remove(oldfp);
    }
    if (fp != null) {
      filterMap.put(btxn,fp);
      if (fp.isIncludeAll()) {
        globalExclusionFilters.add(fp);
      }
 else {
        btxnFilters.add(fp);
      }
    }
 else {
      filterMap.remove(btxn);
    }
  }
}

public void init ( String btxn , BusinessTxnConfig btc ) { FilterProcessor fp = null ; if ( btc . getFilter ( ) != null ) { fp = new FilterProcessor ( btxn , btc ) ; } synchronized ( filterMap ) { FilterProcessor oldfp = filterMap . get ( btxn ) ; if ( oldfp != null ) { globalExclusionFilters . remove ( oldfp ) ; btxnFilters . remove ( oldfp ) ; } if ( fp != null ) { filterMap . put ( btxn , fp ) ; if ( fp . isIncludeAll ( ) ) { globalExclusionFilters . add ( fp ) ; } else { btxnFilters . add ( fp ) ; } } else { filterMap . remove ( btxn ) ; } } }
this method initialises the filter manager with the supplied business transaction configuration .
