KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > compliance > loading > support > AnotherTrivial


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 package test.compliance.loading.support;
9
10 /**
11  * Goes into MyMBeans.jar
12  */

13 public class AnotherTrivial implements AnotherTrivialMBean
14 {
15    private AClass something = null;
16    private boolean anAttribute = true;
17
18    public void setSomething(AClass thing)
19    {
20       this.something = thing;
21    }
22
23    public AClass getSomething()
24    {
25       return something;
26    }
27
28    public void doOperation(String arg)
29    {
30    }
31 }
32
Popular Tags