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