@Override
    public Set<Class<?>> getComponents() {
        Set<Class<?>> set = new HashSet<>();
        ClassLoader cl = Thread.currentThread().getContextClassLoader();

        Consumer<JsonArray> reader = array -> {
            if (array != null && array.size() > 0) {
                for (int i = 0; i < array.size(); i++) {
                    try {
                        set.add(cl.loadClass(array.getString(i)));
                    } catch (ClassNotFoundException e) {
                        throw new RuntimeException(e);
                    }
                }
            }
        };

        JsonArray features = config.getJsonArray(CONFIG_FEATURES, null);
        JsonArray components = config.getJsonArray(CONFIG_COMPONENTS, null);

        reader.accept(features);
        reader.accept(components);

        return set;
    }
@ Override public Set < Class < ? > > getComponents ( ) { Set < Class < ? > > set = new HashSet < > ( ) ; ClassLoader cl = Thread . currentThread ( ) . getContextClassLoader ( ) ; Consumer < JsonArray > reader = array -> { if ( array != null && array . size ( ) > 0 ) { for ( int i = 0 ; i < array . size ( ) ; i ++ ) { try { set . add ( cl . loadClass ( array . getString ( i ) ) ) ; } catch ( ClassNotFoundException e ) { throw new RuntimeException ( e ) ; } } } } ; JsonArray features = config . getJsonArray ( CONFIG_FEATURES , null ) ; JsonArray components = config . getJsonArray ( CONFIG_COMPONENTS , null ) ; reader . accept ( features ) ; reader . accept ( components ) ; return set ; }
List of components to be registered (features etc.)

@return