01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package mx4j.examples.tools.adaptor.http;
10:
11: /**
12: * @version $Revision: 1.1 $
13: */
14: interface SimpleStandardMBean {
15: public void setName(String name);
16:
17: public String getName();
18: }
19:
20: public class SimpleStandard implements SimpleStandardMBean {
21: private String m_name = "RelationAdaptor Example";
22:
23: public SimpleStandard() {
24: }
25:
26: public void setName(String name) {
27: m_name = name;
28: }
29:
30: public String getName() {
31: return m_name;
32: }
33: }
|