/**
* The method provides the functionality to retrieve all the service facades and initialize them
* @see ServiceFacade
* @see com.castlemock.core.basis.model.Service
*/
protected void initializeServiceFacade(){
final Map<String, Object> components = applicationContext.getBeansWithAnnotation(Service.class);
for(Map.Entry<String, Object> entry : components.entrySet()){
final Object value = entry.getValue();
if(value instanceof ServiceFacade){
final ServiceFacade serviceFacade = (ServiceFacade) value;
serviceFacade.initiate();
}
}
}
Application.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:castlemock
作者:
评论列表
文章目录