Examples of IdentitiesResponse_Type


Examples of org.nimbustools.ctxbroker.generated.gt4_0.types.IdentitiesResponse_Type

            buf.append("sent envelope is null");
        }
        buf.append(")");
        logger.info(buf.toString());

        final IdentitiesResponse_Type response = new IdentitiesResponse_Type();
        try {
            if (all) {
                response.setNode(resource.identityQueryAll());
            } else if (host != null) {
                response.setNode(resource.identityQueryHost(host));
            } else if (ip != null) {
                response.setNode(resource.identityQueryIP(ip));
            } else {
                throw ContextFault.makeCtxFault("nothing queried?", null);
            }
        } catch (ContextBrokerException e) {
            if (logger.isDebugEnabled()) {
View Full Code Here

Examples of org.nimbustools.ctxbroker.generated.gt4_0.types.IdentitiesResponse_Type

            send.setIp(this.queryIP);
        } else {
            throw new IllegalStateException("validation failed?");
        }

        final IdentitiesResponse_Type response;
        try {
            response = ((NimbusContextBrokerPortType)
                                        this.portType).identities(send);
        } catch (NimbusContextualizationFault e) {
            throw e;
        } catch (RemoteException e) {
            throw RMIUtils.generalRemoteException(e);
        }

        if (response == null) {
            throw new ExecutionProblem("No response element from query?");
        }

        final Node_Type[] ret = response.getNode();
        if (ret == null || ret.length == 0) {
            return EMPTY_RESPONSE;
        } else {
            return ret;
        }
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.