Package example.scannable

Examples of example.scannable.AutowiredQualifierFooService


  }

  @Test
  public void componentScanWithAutowiredQualifier() {
    ClassPathXmlApplicationContext context = loadContext("componentScanWithAutowiredQualifierTests.xml");
    AutowiredQualifierFooService fooService = (AutowiredQualifierFooService) context.getBean("fooService");
    assertTrue(fooService.isInitCalled());
    assertEquals("bar", fooService.foo(123));
    context.close();
  }
View Full Code Here

TOP

Related Classes of example.scannable.AutowiredQualifierFooService

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.