Examples of AvailableIUQuery


Examples of org.wso2.carbon.component.mgt.core.query.AvailableIUQuery

                repoURI = new URI(location);
            }
            QueryContext queryContext = new QueryContext();
            queryContext.setShowLatestVersionsOnly(showOnlyTheLatestFeatures);
            queryContext.setQueryable(RepositoryUtils.getQuerybleRepositoryManager(repoURI));
            AvailableIUQuery availableIUQuery = new AvailableIUQuery(queryContext);
            IInstallableUnit[] installableUnits = ProvisioningUtils.performIUQuery(availableIUQuery);
            features = ProvWSUtils.wrapAvailableFeatures(installableUnits, queryContext.getQueryable());
        } catch (URISyntaxException e) {
            handleException("Invalid Repository Location :" + location, "invalid.repo.location", e);
        } catch (Exception e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.