* @param context AcrossContext instance.
* @return Merges set of ApplicationContextConfigurers.
*/
public static Collection<ApplicationContextConfigurer> getConfigurersToApply( AcrossContext context ) {
Set<ApplicationContextConfigurer> configurers = new LinkedHashSet<>();
configurers.add( new AnnotatedClassConfigurer( AcrossConfig.class ) );
configurers.add( new AnnotatedClassConfigurer( AcrossInstallerConfig.class ) );
for ( Map.Entry<ApplicationContextConfigurer, ConfigurerScope> configurerEntry : context
.getApplicationContextConfigurers().entrySet() ) {
if ( configurerEntry.getValue() != ConfigurerScope.MODULES_ONLY ) {
configurers.add( configurerEntry.getKey() );