Examples of RetrieveResponse_Type


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

                logger.error(e.getMessage());
            }
            throw ContextFault.makeCtxFault(e.getMessage(), null);
        }

        final RetrieveResponse_Type response = new RetrieveResponse_Type();

        // For now we take requires being null to mean node is not complete.
        // If resource is not locked we are also currently not answering.
        // i.e., no partial answers.  Also for now.

        if (requires == null) {
            //requires = new Requires_Type();
            //requires.setIdentity(null);
            //requires.setRole(null);
            response.setComplete(false);
        } else {
            response.setComplete(true);
        }

        response.setNoMoreInjections(resource.isNoMoreInjections());
        response.setRequires(requires);

        return response;
    }
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.