Java Code Examples for org.springframework.context.annotation.DeferredImportSelector

The following examples show how to use org.springframework.context.annotation.DeferredImportSelector. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
private String[] selected(ImportSelector registrar, Class<?> importer) {
	if (registrar instanceof DeferredImportSelector) {
		return new DeferredConfigurations(Stream.of(registrar.selectImports(getMetaData(importer)))
				.map(name -> ClassUtils.resolveClassName(name, context.getClassLoader()))
	return registrar.selectImports(getMetaData(importer));