Java 类org.springframework.beans.factory.config.ServiceLocatorFactoryBean 实例源码

项目:CCDA-Score-CARD    文件:PersistanceConfiguration.java   
@Bean
public ServiceLocatorFactoryBean vocabularyLoaderFactoryServiceLocatorFactoryBean() {
    ServiceLocatorFactoryBean bean = new ServiceLocatorFactoryBean();
    bean.setServiceLocatorInterface(VocabularyLoaderFactory.class);
    return bean;
}
项目:pandapay    文件:IdServiceConfig.java   
@Bean
public FactoryBean serviceLocatorFactoryBean() {
    ServiceLocatorFactoryBean factoryBean = new ServiceLocatorFactoryBean();
    factoryBean.setServiceLocatorInterface(IdGeneratorFactory.class);
    return factoryBean;
}