HashMap<ElementSelector, Action> rulesMap = new HashMap<ElementSelector, Action>();
rulesMap.put(new ElementSelector("group/fruitShell"), new FruitShellAction());
rulesMap.put(new ElementSelector("group/fruitShell/fruit"),
new FruitFactoryAction());
rulesMap.put(new ElementSelector("group/fruitShell/fruit/*"), new NOPAction());
SimpleConfigurator simpleConfigurator = new SimpleConfigurator(rulesMap);
simpleConfigurator.setContext(fruitContext);
simpleConfigurator.doConfigure(CoreTestConstants.TEST_SRC_PREFIX + "input/joran/replay/"
+ filename);
return fruitContext.getFruitShellList();
} catch (Exception je) {
StatusPrinter.print(fruitContext);