Examples of WebappsWrapper


Examples of org.wso2.carbon.webapp.mgt.stub.types.carbon.WebappsWrapper

        }
        return false;
    }

    public WebappMetadata getWebAppInfo(String webAppName) throws RemoteException {
        WebappsWrapper wrapper = getPagedWebappsSummary(webAppName, "ALL", "ALL", 0);
        VersionedWebappMetadata[] webappGroups = wrapper.getWebapps();
        if (webappGroups == null || webappGroups.length == 0) {
            throw new RemoteException("No Web Application Found with given name " + webAppName);
        }
        if (webappGroups.length > 1) {
            // this is happened there are more service available with the given web app name prefix
View Full Code Here

Examples of org.wso2.carbon.webapp.mgt.stub.types.carbon.WebappsWrapper

        return webappAdminStub.getPagedWebappsSummary(searchString, webAppType, webAppState, pageNo);
    }

    public List<String> getWebApplist(String webAppNameSearchString) throws RemoteException {
        List<String> list = new ArrayList<String>();
        WebappsWrapper wrapper = getPagedWebappsSummary(webAppNameSearchString, "ALL", "ALL", 0);
        VersionedWebappMetadata[] webappGroups = wrapper.getWebapps();

        if (webappGroups != null) {
            for (VersionedWebappMetadata webappGroup : webappGroups) {
                for (WebappMetadata metaData : webappGroup.getVersionGroups()) {
                    list.add(metaData.getWebappFile());
View Full Code Here

Examples of org.wso2.carbon.webapp.mgt.stub.types.carbon.WebappsWrapper

        return webappAdminStub.getPagedFaultyWebappsSummary(searchString, webAppType, pageNo);
    }

    public List<String> getFaultyWebAppList(String webAppNameSearchString) throws RemoteException {
        List<String> list = new ArrayList<String>();
        WebappsWrapper wrapper = getPagedFaultyWebappsSummary(webAppNameSearchString, "ALL", 0);
        VersionedWebappMetadata[] webappGroups = wrapper.getWebapps();

        if (webappGroups != null && webappGroups[0].getVersionGroups() != null) {
            for (WebappMetadata metaData : webappGroups[0].getVersionGroups()) {
                list.add(metaData.getWebappFile());
            }
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.