KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nanocontainer > script > xml > TestBeanComposer


1 /*****************************************************************************
2  * Copyright (C) NanoContainer Organization. All rights reserved. *
3  * ------------------------------------------------------------------------- *
4  * The software in this package is published under the terms of the BSD *
5  * style license a copy of which has been included with this distribution in *
6  * the LICENSE.txt file. *
7  * *
8  *****************************************************************************/

9
10 package org.nanocontainer.script.xml;
11
12 public class TestBeanComposer {
13
14     private TestBean bean1;
15     private TestBean bean2;
16
17     public TestBeanComposer(TestBean bean1, TestBean bean2) {
18         this.bean1 = bean1;
19         this.bean2 = bean2;
20     }
21
22     public TestBean getBean1() {
23         return bean1;
24     }
25
26     public TestBean getBean2() {
27         return bean2;
28     }
29 }
30
Popular Tags