01: /*****************************************************************************
02: * Copyright (C) NanoContainer Organization. All rights reserved. *
03: * ------------------------------------------------------------------------- *
04: * The software in this package is published under the terms of the BSD *
05: * style license a copy of which has been included with this distribution in *
06: * the LICENSE.txt file. *
07: * *
08: * Original code by Leo Simons *
09: *****************************************************************************/package org.nanocontainer.script.bsh;
10:
11: /**
12: * @author <a href="mail at leosimons dot com">Leo Simons</a>
13: * @author Aslak Hellesoy
14: * @version $Id: ScriptableDemoBean.java 3144 2006-12-26 10:12:19Z mauro $
15: */
16: public class ScriptableDemoBean {
17: public Object key;
18: public Object whatever;
19:
20: public void rememberMyKey(Object key) {
21: this .key = key;
22: }
23:
24: public void setWhatever(Object whatever) {
25: this.whatever = whatever;
26: }
27: }
|