Search in sources :

Example 1 with SServiceInterfaceService

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;
}
Also used : SServicesMap(org.bimserver.shared.meta.SServicesMap) SServiceInterfaceService(org.bimserver.interfaces.SServiceInterfaceService) SService(org.bimserver.shared.meta.SService)

Aggregations

SServiceInterfaceService (org.bimserver.interfaces.SServiceInterfaceService)1 SService (org.bimserver.shared.meta.SService)1 SServicesMap (org.bimserver.shared.meta.SServicesMap)1