Package org.springframework.beans.factory.support

Examples of org.springframework.beans.factory.support.DefaultBeanNameGenerator


  @Test
  public void customBeanNameGenerator() throws Exception {
    TestSpringApplication application = new TestSpringApplication(
        ExampleWebConfig.class);
    BeanNameGenerator beanNameGenerator = new DefaultBeanNameGenerator();
    application.setBeanNameGenerator(beanNameGenerator);
    this.context = application.run();
    verify(application.getLoader()).setBeanNameGenerator(beanNameGenerator);
    assertThat(
        this.context
View Full Code Here

TOP

Related Classes of org.springframework.beans.factory.support.DefaultBeanNameGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.