All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.enodeframework.spring.EnodeConfigurationSelector Maven / Gradle / Ivy

package org.enodeframework.spring;

import org.springframework.context.annotation.DeferredImportSelector;
import org.springframework.core.annotation.Order;
import org.springframework.core.type.AnnotationMetadata;

/**
 * A {@link DeferredImportSelector} implementation with the lowest order to import a
 * {@link EnodeBootstrapRegistrar} as late as possible.
 * {@link EnodeAutoConfiguration} as late as possible.
 *
 * @author [email protected]
 * @since 1.0.5
 */
@Order
public class EnodeConfigurationSelector implements DeferredImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String[]{
                EnodeVertxAutoConfig.class.getName(),
                EnodeBootstrapRegistrar.class.getName(),
                EnodeAutoConfiguration.class.getName(),
                EnodeMemoryEventStoreAutoConfig.class.getName(),
                EnodePgEventStoreAutoConfig.class.getName(),
                EnodeMySQLEventStoreAutoConfig.class.getName(),
                EnodeTiDBEventStoreAutoConfig.class.getName(),
                EnodeMongoEventStoreAutoConfig.class.getName(),
                EnodeKafkaAutoConfiguration.class.getName(),
                EnodeOnsAutoConfig.class.getName(),
                EnodeRocketMQAutoConfig.class.getName(),
                EnodeThreadPoolAutoConfig.class.getName(),
        };
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy