KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mx4j > examples > tools > adaptor > http > SimpleStandard


1 /*
2  * Copyright (C) The MX4J Contributors.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the MX4J License version 1.0.
6  * See the terms of the MX4J License in the documentation provided with this software.
7  */

8
9 package mx4j.examples.tools.adaptor.http;
10
11 /**
12  * @version $Revision: 1.3 $
13  */

14 interface SimpleStandardMBean
15 {
16    public void setName(String JavaDoc name);
17
18    public String JavaDoc getName();
19 }
20
21 public class SimpleStandard implements SimpleStandardMBean
22 {
23    private String JavaDoc m_name = "RelationAdaptor Example";
24
25    public SimpleStandard()
26    {
27    }
28
29    public void setName(String JavaDoc name)
30    {
31       m_name = name;
32    }
33
34    public String JavaDoc getName()
35    {
36       return m_name;
37    }
38 }
39
Popular Tags