Java 类org.springframework.beans.factory.parsing.SourceExtractor 实例源码

项目:lams    文件:ConfigurationClassBeanDefinitionReader.java   
/**
 * Create a new {@link ConfigurationClassBeanDefinitionReader} instance that will be used
 * to populate the given {@link BeanDefinitionRegistry}.
 */
public ConfigurationClassBeanDefinitionReader(BeanDefinitionRegistry registry, SourceExtractor sourceExtractor,
        ProblemReporter problemReporter, MetadataReaderFactory metadataReaderFactory,
        ResourceLoader resourceLoader, Environment environment, BeanNameGenerator importBeanNameGenerator) {

    this.registry = registry;
    this.sourceExtractor = sourceExtractor;
    this.problemReporter = problemReporter;
    this.metadataReaderFactory = metadataReaderFactory;
    this.resourceLoader = resourceLoader;
    this.environment = environment;
    this.importBeanNameGenerator = importBeanNameGenerator;
    this.conditionEvaluator = new ConditionEvaluator(registry, environment, resourceLoader);
}
项目:lams    文件:XmlReaderContext.java   
public XmlReaderContext(
        Resource resource, ProblemReporter problemReporter,
        ReaderEventListener eventListener, SourceExtractor sourceExtractor,
        XmlBeanDefinitionReader reader, NamespaceHandlerResolver namespaceHandlerResolver) {

    super(resource, problemReporter, eventListener, sourceExtractor);
    this.reader = reader;
    this.namespaceHandlerResolver = namespaceHandlerResolver;
}
项目:spring4-understanding    文件:AspectJNamespaceHandlerTests.java   
@Before
public void setUp() throws Exception {
    SourceExtractor sourceExtractor = new PassThroughSourceExtractor();
    XmlBeanDefinitionReader reader = new XmlBeanDefinitionReader(this.registry);
    XmlReaderContext readerContext =
            new XmlReaderContext(null, null, this.readerEventListener, sourceExtractor, reader, null);
    this.parserContext = new ParserContext(readerContext, null);
}
项目:spring4-understanding    文件:ConfigurationClassBeanDefinitionReader.java   
/**
 * Create a new {@link ConfigurationClassBeanDefinitionReader} instance that will be used
 * to populate the given {@link BeanDefinitionRegistry}.
 */
ConfigurationClassBeanDefinitionReader(BeanDefinitionRegistry registry, SourceExtractor sourceExtractor,
        ResourceLoader resourceLoader, Environment environment, BeanNameGenerator importBeanNameGenerator,
        ImportRegistry importRegistry) {

    this.registry = registry;
    this.sourceExtractor = sourceExtractor;
    this.resourceLoader = resourceLoader;
    this.environment = environment;
    this.importBeanNameGenerator = importBeanNameGenerator;
    this.importRegistry = importRegistry;
    this.conditionEvaluator = new ConditionEvaluator(registry, environment, resourceLoader);
}
项目:spring4-understanding    文件:XmlReaderContext.java   
public XmlReaderContext(
        Resource resource, ProblemReporter problemReporter,
        ReaderEventListener eventListener, SourceExtractor sourceExtractor,
        XmlBeanDefinitionReader reader, NamespaceHandlerResolver namespaceHandlerResolver) {

    super(resource, problemReporter, eventListener, sourceExtractor);
    this.reader = reader;
    this.namespaceHandlerResolver = namespaceHandlerResolver;
}
项目:my-spring-cache-redis    文件:ConfigurationClassBeanDefinitionReader.java   
/**
 * Create a new {@link ConfigurationClassBeanDefinitionReader} instance that will be used
 * to populate the given {@link BeanDefinitionRegistry}.
 */
public ConfigurationClassBeanDefinitionReader(BeanDefinitionRegistry registry, SourceExtractor sourceExtractor,
        ProblemReporter problemReporter, MetadataReaderFactory metadataReaderFactory,
        ResourceLoader resourceLoader, Environment environment, BeanNameGenerator importBeanNameGenerator) {

    this.registry = registry;
    this.sourceExtractor = sourceExtractor;
    this.problemReporter = problemReporter;
    this.metadataReaderFactory = metadataReaderFactory;
    this.resourceLoader = resourceLoader;
    this.environment = environment;
    this.importBeanNameGenerator = importBeanNameGenerator;
    this.conditionEvaluator = new ConditionEvaluator(registry, environment, resourceLoader);
}
项目:spring    文件:ConfigurationClassBeanDefinitionReader.java   
/**
 * Create a new {@link ConfigurationClassBeanDefinitionReader} instance that will be used
 * to populate the given {@link BeanDefinitionRegistry}.
 */
ConfigurationClassBeanDefinitionReader(BeanDefinitionRegistry registry, SourceExtractor sourceExtractor,
        ResourceLoader resourceLoader, Environment environment, BeanNameGenerator importBeanNameGenerator,
        ImportRegistry importRegistry) {

    this.registry = registry;
    this.sourceExtractor = sourceExtractor;
    this.resourceLoader = resourceLoader;
    this.environment = environment;
    this.importBeanNameGenerator = importBeanNameGenerator;
    this.importRegistry = importRegistry;
    this.conditionEvaluator = new ConditionEvaluator(registry, environment, resourceLoader);
}
项目:spring    文件:XmlReaderContext.java   
public XmlReaderContext(
        Resource resource, ProblemReporter problemReporter,
        ReaderEventListener eventListener, SourceExtractor sourceExtractor,
        XmlBeanDefinitionReader reader, NamespaceHandlerResolver namespaceHandlerResolver) {

    super(resource, problemReporter, eventListener, sourceExtractor);
    this.reader = reader;
    this.namespaceHandlerResolver = namespaceHandlerResolver;
}
项目:class-guard    文件:AspectJNamespaceHandlerTests.java   
@Before
public void setUp() throws Exception {
    SourceExtractor sourceExtractor = new PassThroughSourceExtractor();
    XmlBeanDefinitionReader reader = new XmlBeanDefinitionReader(this.registry);
    XmlReaderContext readerContext =
            new XmlReaderContext(null, null, this.readerEventListener, sourceExtractor, reader, null);
    this.parserContext = new ParserContext(readerContext, null);
}
项目:class-guard    文件:ConfigurationClassBeanDefinitionReader.java   
/**
 * Create a new {@link ConfigurationClassBeanDefinitionReader} instance that will be used
 * to populate the given {@link BeanDefinitionRegistry}.
 */
public ConfigurationClassBeanDefinitionReader(
        BeanDefinitionRegistry registry, SourceExtractor sourceExtractor,
        ProblemReporter problemReporter, MetadataReaderFactory metadataReaderFactory,
        ResourceLoader resourceLoader, Environment environment, BeanNameGenerator importBeanNameGenerator) {

    this.registry = registry;
    this.sourceExtractor = sourceExtractor;
    this.problemReporter = problemReporter;
    this.metadataReaderFactory = metadataReaderFactory;
    this.resourceLoader = resourceLoader;
    this.environment = environment;
    this.importBeanNameGenerator = importBeanNameGenerator;
}
项目:class-guard    文件:XmlReaderContext.java   
public XmlReaderContext(
        Resource resource, ProblemReporter problemReporter,
        ReaderEventListener eventListener, SourceExtractor sourceExtractor,
        XmlBeanDefinitionReader reader, NamespaceHandlerResolver namespaceHandlerResolver) {

    super(resource, problemReporter, eventListener, sourceExtractor);
    this.reader = reader;
    this.namespaceHandlerResolver = namespaceHandlerResolver;
}
项目:spring-autowire-qualified-beans    文件:ConfigurationClassBeanDefinitionReader.java   
/**
 * Create a new {@link ConfigurationClassBeanDefinitionReader} instance that will be used to populate the given
 * {@link BeanDefinitionRegistry}.
 */
public ConfigurationClassBeanDefinitionReader(final BeanDefinitionRegistry registry, final SourceExtractor sourceExtractor,
    final ProblemReporter problemReporter, final MetadataReaderFactory metadataReaderFactory, final ResourceLoader resourceLoader,
    final Environment environment, final BeanNameGenerator importBeanNameGenerator) {

  this.registry = registry;
  this.sourceExtractor = sourceExtractor;
  this.problemReporter = problemReporter;
  this.metadataReaderFactory = metadataReaderFactory;
  this.resourceLoader = resourceLoader;
  this.environment = environment;
  this.importBeanNameGenerator = importBeanNameGenerator;
}
项目:lams    文件:ConfigurationClassPostProcessor.java   
/**
 * Set the {@link SourceExtractor} to use for generated bean definitions
 * that correspond to {@link Bean} factory methods.
 */
public void setSourceExtractor(SourceExtractor sourceExtractor) {
    this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new PassThroughSourceExtractor());
}
项目:lams    文件:XmlBeanDefinitionReader.java   
/**
 * Specify the {@link SourceExtractor} to use.
 * <p>The default implementation is {@link NullSourceExtractor} which simply returns {@code null}
 * as the source object. This means that - during normal runtime execution -
 * no additional source metadata is attached to the bean configuration metadata.
 */
public void setSourceExtractor(SourceExtractor sourceExtractor) {
    this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new NullSourceExtractor());
}
项目:spring4-understanding    文件:ConfigurationClassPostProcessor.java   
/**
 * Set the {@link SourceExtractor} to use for generated bean definitions
 * that correspond to {@link Bean} factory methods.
 */
public void setSourceExtractor(SourceExtractor sourceExtractor) {
    this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new PassThroughSourceExtractor());
}
项目:spring4-understanding    文件:XmlBeanDefinitionReader.java   
/**
 * Specify the {@link SourceExtractor} to use.
 * <p>The default implementation is {@link NullSourceExtractor} which simply returns {@code null}
 * as the source object. This means that - during normal runtime execution -
 * no additional source metadata is attached to the bean configuration metadata.
 */
public void setSourceExtractor(SourceExtractor sourceExtractor) {
    this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new NullSourceExtractor());
}
项目:my-spring-cache-redis    文件:ConfigurationClassPostProcessor.java   
/**
 * Set the {@link SourceExtractor} to use for generated bean definitions
 * that correspond to {@link Bean} factory methods.
 */
public void setSourceExtractor(SourceExtractor sourceExtractor) {
    this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new PassThroughSourceExtractor());
}
项目:spring    文件:ConfigurationClassPostProcessor.java   
/**
 * Set the {@link SourceExtractor} to use for generated bean definitions
 * that correspond to {@link Bean} factory methods.
 */
public void setSourceExtractor(SourceExtractor sourceExtractor) {
    this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new PassThroughSourceExtractor());
}
项目:spring    文件:XmlBeanDefinitionReader.java   
/**
 * Specify the {@link SourceExtractor} to use.
 * <p>The default implementation is {@link NullSourceExtractor} which simply returns {@code null}
 * as the source object. This means that - during normal runtime execution -
 * no additional source metadata is attached to the bean configuration metadata.
 */
public void setSourceExtractor(SourceExtractor sourceExtractor) {
    this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new NullSourceExtractor());
}
项目:class-guard    文件:ConfigurationClassPostProcessor.java   
/**
 * Set the {@link SourceExtractor} to use for generated bean definitions
 * that correspond to {@link Bean} factory methods.
 */
public void setSourceExtractor(SourceExtractor sourceExtractor) {
    this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new PassThroughSourceExtractor());
}
项目:class-guard    文件:XmlBeanDefinitionReader.java   
/**
 * Specify the {@link SourceExtractor} to use.
 * <p>The default implementation is {@link NullSourceExtractor} which simply returns {@code null}
 * as the source object. This means that - during normal runtime execution -
 * no additional source metadata is attached to the bean configuration metadata.
 */
public void setSourceExtractor(SourceExtractor sourceExtractor) {
    this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new NullSourceExtractor());
}