package de.renew.plugin.jpms.impl;

import java.util.Set;


/**
 * A  {@code ComponentLayerFactory} for {@code PluginLayer}s that  can  include
 * their third-party dependencies directly in the {@code ComponentLayer}.
 *
 * @author Kjell Ehlers
 * @since Renew 4.2
 */
public class AIOPluginLayerFactory extends PluginLayerFactory {

    @Override
    protected boolean verify(ModuleLayer layer, Set<String> modulesToLoad) {
        return !layer.modules().isEmpty();
    }
}
