}
private void loadExtensions(AppContext appContext) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException {
final ExtensionLoader extensionLoader = webBeansContext.getExtensionLoader();
// Load regularly visible Extensions
extensionLoader.loadExtensionServices(appContext.getClassLoader());
// Load any potentially misplaced extensions -- TCK seems to be full of them
// This could perhaps be improved or addressed elsewhere
// final String s = "WEB-INF/classes/META-INF/services/javax.enterprise.inject.spi.Extension";
// final ArrayList<URL> list = Collections.list(appContext.getClassLoader().getResources(s));