Examples of ParentClass


Examples of Displayer.ParentClass

        }
        return bindingManager;
    }

    public void setAParent(ParentClass aParent) {
        ParentClass oldValue = this.aParent;
        this.aParent = aParent;
        this.qq_Listeners.firePropertyChange("AParent", oldValue, this.aParent);
    }
View Full Code Here

Examples of sample.rmi.server.dto.ParentClass

            Service4Interface proxy =
                    (Service4Interface) RMIClientProxy.createProxy(Service4Interface.class,
                            this.configurator,
                            "http://localhost:8080/axis2/services/Service4");

            ParentClass parentClass = new ParentClass();
            parentClass.setParam1("test string");
            parentClass.setParam2(3);
            ParentClass result = (ParentClass) proxy.method1(parentClass);
            System.out.println("Param 1 ==>" + result.getParam1());
            System.out.println("Param 2 ==>" + result.getParam2());
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
View Full Code Here

Examples of sample.rmi.server.dto.ParentClass

            List param1 = new ArrayList();
            param1.add(new ChildClass());
            param1.add(new Integer(2));

            List param2 = new ArrayList();
            param2.add(new ParentClass());
            param2.add(new Float(2.34f));

            List result = proxy.method2(param1,param2);
            System.out.println("Object 1 ==>" + result.get(1));
            System.out.println("Object 3 ==>" + result.get(3));
View Full Code Here

Examples of sample.rmi.server.dto.ParentClass

            Service4Interface proxy =
                      (Service4Interface) RMIClientProxy.createProxy(Service4Interface.class,
                              this.configurator,
                              "http://localhost:8080/axis2/services/Service4");
            Map param1 = new HashMap();
            ParentClass parent = new ParentClass();
            parent.setParam1("param1");
            parent.setParam2(5);
            param1.put("key1",parent);
            param1.put("key2","value2");
            param1.put("key3",new Integer(6));

            Map result = proxy.method4(param1);
            ParentClass resultParent = (ParentClass) result.get("key1");
            System.out.println("Parent param1 ==> " + resultParent.getParam1());
            System.out.println("Parent param2 ==> " + resultParent.getParam2());
            System.out.println("Key 2 ==> " + result.get("key2"));
            System.out.println("Key 3 ==> " + result.get("key3"));
        } catch (AxisFault axisFault) {
            axisFault.printStackTrace();
        }
View Full Code Here

Examples of sample.rmi.server.dto.ParentClass

        try {
            Service2Interface proxy =
                    (Service2Interface) RMIClientProxy.createProxy(Service2Interface.class,
                            this.configurator,
                            "http://localhost:8080/axis2/services/Service2");
            ParentClass parentClass = new ParentClass();
            parentClass.setParam1("test param1");
            parentClass.setParam2(10);
            ParentClass result = proxy.method1(parentClass);
            System.out.println("Result param 1 ==> " + result.getParam1());
            System.out.println("Result param 2 ==> " + result.getParam2());
        } catch (Exception e) {
            e.printStackTrace()//To change body of catch statement use File | Settings | File Templates.
        }
    }
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.