use of org.bimserver.interfaces.objects.SPluginDescriptor in project BIMserver by opensourceBIM.
the class ServiceImpl method getQueryEngineExample.
@Override
public String getQueryEngineExample(Long qeid, String key) throws ServerException, UserException {
requireRealUserAuthentication();
SQueryEnginePluginConfiguration queryEngineById = getQueryEngineById(qeid);
SPluginDescriptor pluginDescriptor = getServiceMap().getPluginInterface().getPluginDescriptor(queryEngineById.getPluginDescriptorId());
QueryEnginePlugin queryEngine = getBimServer().getPluginManager().getQueryEngine(pluginDescriptor.getPluginClassName(), true);
return queryEngine.getExample(key);
}
Aggregations