@Override
  public void configure(WebAppContext context) throws Exception {
    if (!context.isConfigurationDiscovered()) return;

    // order the fragments
    context.getMetaData().orderFragments();
  }
  @Override
  public void preConfigure(WebAppContext context) throws Exception {
    if (!context.isConfigurationDiscovered()) return;

    // find all web-fragment.xmls
    findWebFragments(context, context.getMetaData());
  }