Dave Syer opened SPR-11844 and commented
If I add a @Configuration via an ImportSelector its nested classes are not loaded if they are @Conditional and the condition does not match (i.e. as expected). If you @Import the same class directly Spring loads the nested classes and there can be runtime errors (e.g. ClassNotFound).
Affects: 4.0.5