use of org.bimserver.interfaces.SServiceInterfaceService in project BIMserver by opensourceBIM.
the class InterfaceList method createSServicesMap.
public static SServicesMap createSServicesMap() {
SServicesMap servicesMap = new SServicesMap();
CodeFetcher sourceCodeFetcher = new CodeFetcher();
SService serviceInterface = new SServiceInterfaceService(servicesMap, sourceCodeFetcher, ServiceInterface.class);
servicesMap.add(serviceInterface);
for (Class<? extends PublicInterface> clazz : getInterfaces()) {
if (clazz != ServiceInterface.class) {
servicesMap.add(new SService(servicesMap, sourceCodeFetcher, clazz));
}
}
servicesMap.initialize();
return servicesMap;
}
Aggregations