Package org.springframework.context.annotation.ComponentScanParserTests

Examples of org.springframework.context.annotation.ComponentScanParserTests.KustomAnnotationAutowiredBean


  @Test
  public void withCustomTypeFilter() {
    AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(ComponentScanWithCustomTypeFilter.class);
    assertFalse(ctx.getDefaultListableBeanFactory().containsSingleton("componentScanParserTests.KustomAnnotationAutowiredBean"));
    KustomAnnotationAutowiredBean testBean = ctx.getBean("componentScanParserTests.KustomAnnotationAutowiredBean", KustomAnnotationAutowiredBean.class);
    assertThat(testBean.getDependency(), notNullValue());
  }
View Full Code Here

TOP

Related Classes of org.springframework.context.annotation.ComponentScanParserTests.KustomAnnotationAutowiredBean

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.