Package com.foreach.across.core.filters

Examples of com.foreach.across.core.filters.PackageBeanFilter


    assertTrue( definitions.containsKey( "otherBeanWithRefreshableAnnotation" ) );
  }

  @Test
  public void filterByPackage() {
    BeanFilter filter = new PackageBeanFilter( "com.foreach.across.test.filters" );

    // The @Configuration class also matches as a singleton
    Map<String, Object> beans = ApplicationContextScanner.findSingletonsMatching( applicationContext, filter );
    assertEquals( 6, beans.size() );
View Full Code Here

TOP

Related Classes of com.foreach.across.core.filters.PackageBeanFilter

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.