Package ke.go.moh.oec.lib

Examples of ke.go.moh.oec.lib.Mediator


    private PersonResponse requestMpi(Person p, int requestTypeId) {
        PersonRequest personRequest = new PersonRequest();
        personRequest.setPerson(p);
        personRequest.setResponseRequested(true); // Always request a response.
        Mediator mediator = KisumuHdss.getMediator();
        PersonResponse personResponse = (PersonResponse) mediator.getData(requestTypeId, personRequest);
        return personResponse;
    }
View Full Code Here


    private static int outputRecordLimit = 100;

    public static void main(String[] args) {
        try {
            //Initialize Mediator so that it sets up logging facilities.
            new Mediator();
            try {
                outputRecordLimit = Integer.parseInt(Mediator.getProperty("outputrecordlimit"));
            } catch (Exception ex) {
                Mediator.getLogger(CpadDataExtract.class.getName()).log(Level.INFO, "The outputrecordlimit property is missing, unspecified or not a number. The default value of 100 will be used.", ex);
            }
View Full Code Here

TOP

Related Classes of ke.go.moh.oec.lib.Mediator

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.