Class PostAutoConfigurationDefferedImportSelector
java.lang.Object
org.broadleafcommerce.common.config.PostAutoConfigurationDefferedImportSelector
- All Implemented Interfaces:
org.springframework.context.annotation.DeferredImportSelector
,org.springframework.context.annotation.ImportSelector
public class PostAutoConfigurationDefferedImportSelector
extends Object
implements org.springframework.context.annotation.DeferredImportSelector
Deferred import loader that, when used in an {@link @Configuration} class, executes _after_ the set
of Spring EnableAutoConfiguration
classes brought in by the .
Particularly useful when you want to do something in absence of autoconfiguration where Broadleaf is still
required to have a particular component. This allows you to confidently use annotations like @ConditionalOnMissingBean
to only create things if Spring autoconfiguration didn't already.
- Author:
- Phillip Verheyden (phillipuniverse)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.context.annotation.DeferredImportSelector
org.springframework.context.annotation.DeferredImportSelector.Group
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
selectImports
(org.springframework.core.type.AnnotationMetadata importingClassMetadata) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.annotation.DeferredImportSelector
getImportGroup
Methods inherited from interface org.springframework.context.annotation.ImportSelector
getExclusionFilter
-
Constructor Details
-
PostAutoConfigurationDefferedImportSelector
public PostAutoConfigurationDefferedImportSelector()
-
-
Method Details
-
selectImports
public String[] selectImports(org.springframework.core.type.AnnotationMetadata importingClassMetadata) - Specified by:
selectImports
in interfaceorg.springframework.context.annotation.ImportSelector
-