Example usage for org.springframework.context.annotation ConfigurationClass ConfigurationClass

List of usage examples for org.springframework.context.annotation ConfigurationClass ConfigurationClass

Introduction

In this page you can find the example usage for org.springframework.context.annotation ConfigurationClass ConfigurationClass.

Prototype

public ConfigurationClass(AnnotationMetadata metadata, String beanName) 

Source Link

Document

Create a new ConfigurationClass with the given name.

Usage

From source file:org.springframework.context.annotation.ConfigurationClassParser.java

protected final void parse(@Nullable String className, String beanName) throws IOException {
    Assert.notNull(className, "No bean class name for configuration class bean definition");
    MetadataReader reader = this.metadataReaderFactory.getMetadataReader(className);
    processConfigurationClass(new ConfigurationClass(reader, beanName));
}

From source file:org.springframework.context.annotation.ConfigurationClassParser.java

protected final void parse(Class<?> clazz, String beanName) throws IOException {
    processConfigurationClass(new ConfigurationClass(clazz, beanName));
}

From source file:org.springframework.context.annotation.ConfigurationClassParser.java

protected final void parse(AnnotationMetadata metadata, String beanName) throws IOException {
    processConfigurationClass(new ConfigurationClass(metadata, beanName));
}