KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > system > controller > support > SimpleMBean


1 /*
2 * JBoss, Home of Professional Open Source
3 * Copyright 2006, JBoss Inc., and individual contributors as indicated
4 * by the @authors tag. See the copyright.txt in the distribution for a
5 * full listing of individual contributors.
6 *
7 * This is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General License as
9 * published by the Free Software Foundation; either version 2.1 of
10 * the License, or (at your option) any later version.
11 *
12 * This software is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this software; if not, write to the Free
19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 */

22 package org.jboss.test.system.controller.support;
23
24 import java.math.BigDecimal JavaDoc;
25 import java.math.BigInteger JavaDoc;
26 import java.util.Collection JavaDoc;
27 import java.util.Date JavaDoc;
28
29 import javax.management.ObjectName JavaDoc;
30
31 import org.jboss.mx.util.ObjectNameFactory;
32 import org.jboss.system.ServiceMBean;
33 import org.jboss.test.system.controller.integration.support.SimpleBean;
34 import org.w3c.dom.Element JavaDoc;
35
36 /**
37  * SimpleMBean.
38  *
39  * @author <a HREF="adrian@jboss.com">Adrian Brock</a>
40  * @version $Revision: 1.1 $
41  */

42 public interface SimpleMBean extends ServiceMBean
43 {
44    ObjectName JavaDoc OBJECT_NAME = ObjectNameFactory.create("jboss.test:type=test");
45    
46    Simple getInstance();
47
48    Object JavaDoc getObject();
49    
50    void setObject(Object JavaDoc object);
51    
52    BigDecimal JavaDoc getABigDecimal();
53
54    void setABigDecimal(BigDecimal JavaDoc bigDecimal);
55
56    BigInteger JavaDoc getABigInteger();
57
58    void setABigInteger(BigInteger JavaDoc bigInteger);
59
60    boolean isAboolean();
61
62    void setAboolean(boolean aboolean);
63
64    Boolean JavaDoc getABoolean();
65
66    void setABoolean(Boolean JavaDoc boolean1);
67
68    Number JavaDoc getANumber();
69
70    void setANumber(Number JavaDoc number);
71
72    byte getAbyte();
73
74    void setAbyte(byte abyte);
75
76    Byte JavaDoc getAByte();
77
78    void setAByte(Byte JavaDoc byte1);
79
80    char getAchar();
81
82    void setAchar(char achar);
83
84    Character JavaDoc getACharacter();
85
86    void setACharacter(Character JavaDoc character);
87
88    Date JavaDoc getADate();
89
90    void setADate(Date JavaDoc date);
91
92    double getAdouble();
93
94    void setAdouble(double adouble);
95
96    Double JavaDoc getADouble();
97
98    void setADouble(Double JavaDoc double1);
99
100    float getAfloat();
101
102    void setAfloat(float afloat);
103
104    Float JavaDoc getAFloat();
105
106    void setAFloat(Float JavaDoc float1);
107
108    long getAlong();
109
110    void setAlong(long along);
111
112    Long JavaDoc getALong();
113
114    void setALong(Long JavaDoc long1);
115
116    int getAnint();
117
118    void setAnint(int anint);
119
120    Integer JavaDoc getAnInt();
121
122    void setAnInt(Integer JavaDoc anInt);
123
124    short getAshort();
125
126    void setAshort(short ashort);
127
128    Short JavaDoc getAShort();
129
130    void setAShort(Short JavaDoc short1);
131
132    String JavaDoc getAString();
133
134    void setAString(String JavaDoc string);
135
136    ObjectName JavaDoc getObjectName();
137
138    void setObjectName(ObjectName JavaDoc objectName);
139
140    Collection JavaDoc<ObjectName JavaDoc> getObjectNames();
141
142    void setObjectNames(Collection JavaDoc<ObjectName JavaDoc> objectNames);
143    
144    void setBrokenAttribute(String JavaDoc broken);
145
146    String JavaDoc getAttribute1();
147
148    void setAttribute1(String JavaDoc attribute1);
149
150    String JavaDoc getAttribute2();
151
152    void setAttribute2(String JavaDoc attribute2);
153    
154    void setBrokenObjectNameAttribute(ObjectName JavaDoc broken);
155
156    ObjectName JavaDoc getObjectNameAttribute1();
157
158    void setObjectNameAttribute1(ObjectName JavaDoc objectNameAttribute1);
159
160    ObjectName JavaDoc getObjectNameAttribute2();
161
162    void setObjectNameAttribute2(ObjectName JavaDoc objectNameAttribute2);
163
164    void setBrokenObjectNamesAttribute(Collection JavaDoc<ObjectName JavaDoc> broken);
165
166    Collection JavaDoc<ObjectName JavaDoc> getObjectNamesAttribute1();
167    
168    void setObjectNamesAttribute1(Collection JavaDoc<ObjectName JavaDoc> objectNamesAttribute1);
169
170    Collection JavaDoc<ObjectName JavaDoc> getObjectNamesAttribute2();
171
172    void setObjectNamesAttribute2(Collection JavaDoc<ObjectName JavaDoc> objectNamesAttribute2);
173    
174    String JavaDoc getReadOnly();
175
176    SimpleStandardMBeanInterface getProxy();
177
178    void setProxy(SimpleStandardMBeanInterface proxy);
179
180    Element JavaDoc getElement();
181
182    void setElement(Element JavaDoc element);
183
184    JavaBean getJavaBean();
185
186    void setJavaBean(JavaBean javaBean);
187
188    Simple getSimple();
189
190    void setSimple(Simple simple);
191    
192    SimpleBean getSimpleBean();
193
194    void setSimpleBean(SimpleBean simpleBean);
195 }
196
Popular Tags