use of org.bimserver.database.actions.GetInstalledPluginBundles in project BIMserver by opensourceBIM.
the class PluginServiceImpl method getInstalledPluginBundles.
@Override
public List<SPluginBundle> getInstalledPluginBundles() throws UserException, ServerException {
// TODO make sure the database oid's are also coming in with this
requireRealUserAuthentication();
DatabaseSession session = getBimServer().getDatabase().createSession();
try {
return session.executeAndCommitAction(new GetInstalledPluginBundles(session, getInternalAccessMethod(), getBimServer(), getBimServer().getServerSettingsCache().getServerSettings().isPluginStrictVersionChecking()));
} catch (Exception e) {
return handleException(e);
} finally {
session.close();
}
}
Aggregations