KickJava   Java API By Example, From Geeks To Geeks.

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


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 Trivial2 implements Trivial2MBean
14 {
15    private String something = "nullvalue";
16    private boolean anAttribute = true;
17
18    public Trivial2(String aa)
19    {
20       this.something = aa;
21    }
22    
23    public void setSomething(String thing)
24    {
25       this.something = thing;
26    }
27
28    public String getSomething()
29    {
30       return something;
31    }
32
33    public void doOperation(String arg)
34    {
35    }
36 }
37
Popular Tags