Package org.dayatang.ioc.spring.beans

Examples of org.dayatang.ioc.spring.beans.ServiceFactory


public class SpringConfiguration {
 
  @Bean(name = "service1")
  public Service service1() {
        try {
            return new ServiceFactory().getObject();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
  }
View Full Code Here

TOP

Related Classes of org.dayatang.ioc.spring.beans.ServiceFactory

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.