KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nanocontainer > script > bsh > ScriptableDemoBean


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  * Original code by Leo Simons *
9  *****************************************************************************/

10 package org.nanocontainer.script.bsh;
11
12 /**
13  * @author <a HREF="mail at leosimons dot com">Leo Simons</a>
14  * @author Aslak Hellesoy
15  * @version $Id: ScriptableDemoBean.java 3144 2006-12-26 10:12:19Z mauro $
16  */

17 public class ScriptableDemoBean {
18     public Object JavaDoc key;
19     public Object JavaDoc whatever;
20
21     public void rememberMyKey(Object JavaDoc key) {
22         this.key = key;
23     }
24
25     public void setWhatever(Object JavaDoc whatever) {
26         this.whatever = whatever;
27     }
28 }
29
Popular Tags