01: /* ****************************************************************************
02: * ReturnJavaBeanExample.java
03: * ****************************************************************************/
04:
05: /* J_LZ_COPYRIGHT_BEGIN *******************************************************
06: * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
07: * Use is subject to license terms. *
08: * J_LZ_COPYRIGHT_END *********************************************************/
09: package examples;
10:
11: /**
12: * Example that returns only public members. See
13: * examples/javarpc/returnjavabean.lzx.
14: */
15: public class ReturnJavaBeanExample {
16:
17: public static MyJavaBean getJavaBean(String name, String city,
18: String state, String secret) {
19: return new MyJavaBean(name, city, state, secret);
20: }
21:
22: }
|