Package xregistry.generated.App2HostsResponseDocument

Examples of xregistry.generated.App2HostsResponseDocument.App2HostsResponse


    public App2HostsResponseDocument app2Hosts(App2HostsDocument input) throws XregistryException {
        log.info("Request Received " + input.xmlText());
        String[] hostList = registryImpl.app2Hosts(findUserDN(), input.getApp2Hosts().getAppName());

        App2HostsResponseDocument app2HostResDoc = App2HostsResponseDocument.Factory.newInstance();
        App2HostsResponse app2HostRes = app2HostResDoc.addNewApp2HostsResponse();

        if (hostList != null) {
            for (String host : hostList) {
                app2HostRes.addNewHost().setStringValue(host);
            }
        }
        log.info("Response:" + app2HostResDoc.xmlText());
        return app2HostResDoc;
    }
View Full Code Here

TOP

Related Classes of xregistry.generated.App2HostsResponseDocument.App2HostsResponse

Copyright © 2018 www.massapicom. 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.