1 23 24 27 28 package com.sun.enterprise.admin.mbeanapi; 29 30 import java.util.Properties ; 31 32 33 import javax.management.AttributeList ; 34 import javax.management.ObjectName ; 35 import javax.management.MBeanException ; 36 37 import com.sun.enterprise.admin.util.InvalidJvmOptionException; 38 39 40 public interface IConfigsMBean { 41 42 public ObjectName createHttpListener(AttributeList attrList, 43 Properties props, 44 String targetName) 45 throws MBeanException ; 46 47 48 public boolean deleteHttpListener(String listenerId, String targetName) 49 throws MBeanException ; 50 51 public ObjectName [] listHttpListeners(String targetName) 52 throws MBeanException ; 53 54 public ObjectName createIiopListener(AttributeList attrList, 55 Properties props, 56 String targetName) 57 throws MBeanException ; 58 59 public boolean deleteIiopListener(String listenerId, String targetName) 60 throws MBeanException ; 61 62 public ObjectName [] listIiopListeners(String targetName) 63 throws MBeanException ; 64 65 public ObjectName createSsl(AttributeList al, 66 String id, 67 String type, 68 String targetName) 69 throws Exception ; 70 71 public boolean deleteSsl(String id, String type, String targetName) 72 throws MBeanException ; 73 74 public ObjectName createVirtualServer(AttributeList al, 75 Properties props, 76 String targetName) 77 throws MBeanException ; 78 79 public boolean deleteVirtualServer(String id, String targetName) 80 throws MBeanException ; 81 82 public ObjectName [] listVirtualServers(String targetName) 83 throws MBeanException ; 84 85 86 public ObjectName createAuthRealm(AttributeList attrs, 87 Properties props, 88 String targetName) 89 throws Exception ; 90 91 public boolean deleteAuthRealm(String name, String targetName) 92 throws MBeanException ; 93 94 public ObjectName [] listAuthRealms(String targetName) 95 throws MBeanException ; 96 97 public void addUser(String user, 98 String password, 99 String [] grps, 100 String realmName, 101 String targetName) 102 throws MBeanException ; 103 104 public void updateUser(String user, 105 String password, 106 String [] grps, 107 String realmName, 108 String targetName) 109 throws MBeanException ; 110 111 public void removeUser(String user, 112 String realmName, 113 String targetName) 114 throws MBeanException ; 115 116 public String [] getUserNames(String realmName, String targetName) 117 throws MBeanException ; 118 119 public String [] getGroupNames(String user, 120 String realmName, 121 String targetName) 122 throws MBeanException ; 123 124 public ObjectName createProfiler(AttributeList al, 125 Properties props, 126 String targetName) 127 throws MBeanException ; 128 129 public boolean deleteProfiler(String targetName) 130 throws MBeanException ; 131 132 public String [] getJvmOptions(boolean isProfiler, String targetName) 133 throws MBeanException ; 134 135 public String [] createJvmOptions(String [] options, 136 boolean isProfiler, 137 String targetName) 138 throws MBeanException , InvalidJvmOptionException; 139 140 141 public String [] deleteJvmOptions(String [] options, 142 boolean isProfiler, 143 String targetName) 144 throws MBeanException , InvalidJvmOptionException; 145 146 public ObjectName createAuditModule(AttributeList attrs, 147 Properties props, 148 String targetName) 149 throws MBeanException ; 150 151 public ObjectName [] listAuditModules(String targetName) 152 throws MBeanException ; 153 154 public boolean deleteAuditModule(String name, String targetName) 155 throws MBeanException ; 156 157 public ObjectName createJmsHost(AttributeList attrs, 158 Properties props, 159 String targetName) 160 throws MBeanException ; 161 162 public boolean deleteJmsHost(String name, String targetName) 163 throws MBeanException ; 164 165 public ObjectName [] listJmsHosts(String targetName) 166 throws MBeanException ; 167 168 public ObjectName createJaccProvider(AttributeList attrs, 169 Properties props, 170 String targetName) 171 throws MBeanException ; 172 173 public boolean deleteJaccProvider(String name, String targetName) 174 throws MBeanException ; 175 176 public ObjectName [] listJaccProviders(String targetName) 177 throws MBeanException ; 178 179 public ObjectName createThreadPool(AttributeList attrs, 180 Properties props, 181 String targetName) 182 throws MBeanException ; 183 184 public boolean deleteThreadPool(String threadPoolId, String targetName) 185 throws MBeanException ; 186 187 public ObjectName [] listThreadPools(String targetName) 188 throws MBeanException ; 189 190 public ObjectName createEjbTimerService(AttributeList al, 191 Properties props, 192 String targetName) 193 throws MBeanException ; 194 195 public boolean deleteEjbTimerService(String targetName) 196 throws MBeanException ; 197 198 public ObjectName createSessionProperties(AttributeList al, 199 Properties props, 200 String targetName) 201 throws MBeanException ; 202 203 public boolean deleteSessionProperties(String targetName) 204 throws MBeanException ; 205 206 public ObjectName createManagerProperties(AttributeList al, 207 Properties props, 208 String targetName) 209 throws MBeanException ; 210 211 public boolean deleteManagerProperties(String targetName) 212 throws MBeanException ; 213 214 public ObjectName createStoreProperties(AttributeList al, 215 Properties props, 216 String targetName) 217 throws MBeanException ; 218 219 220 public boolean deleteStoreProperties(String targetName) 221 throws MBeanException ; 222 223 public boolean deleteSessionConfig(String targetName) 224 throws MBeanException ; 225 226 public ObjectName getHttpService(String targetName) 227 throws MBeanException ; 228 229 public ObjectName getIiopService(String targetName) 230 throws MBeanException ; 231 232 public ObjectName getEjbContainer(String targetName) 233 throws MBeanException ; 234 235 236 public ObjectName getWebContainer(String targetName) 237 throws MBeanException ; 238 239 public ObjectName getMdbContainer(String targetName) 240 throws MBeanException ; 241 242 public ObjectName getJmsService(String targetName) 243 throws MBeanException ; 244 245 public ObjectName getLogService(String targetName) 246 throws MBeanException ; 247 248 public ObjectName getSecurityService(String targetName) 249 throws MBeanException ; 250 251 public ObjectName getTransactionService(String targetName) 252 throws MBeanException ; 253 254 public ObjectName getMonitoringService(String targetName) 255 throws MBeanException ; 256 257 public ObjectName getJavaConfig(String targetName) 258 throws MBeanException ; 259 260 public ObjectName getHttpListener(String id, String targetName) 261 throws MBeanException ; 262 263 public ObjectName getVirtualServer(String id, String targetName) 264 throws MBeanException ; 265 266 public ObjectName getIiopListener(String id, String targetName) 267 throws MBeanException ; 268 269 public ObjectName getOrb(String targetName) 270 throws MBeanException ; 271 272 public ObjectName getJmsHost(String name, String targetName) 273 throws MBeanException ; 274 275 public ObjectName getAuthRealm(String name, String targetName) 276 throws MBeanException ; 277 278 public ObjectName getAuditModule(String name, String targetName) 279 throws MBeanException ; 280 281 public ObjectName getJaccProvider(String name, String targetName) 282 throws MBeanException ; 283 284 public ObjectName getModuleLogLevels(String targetName) 285 throws MBeanException ; 286 287 public ObjectName getModuleMonitoringLevels(String targetName) 288 throws MBeanException ; 289 290 public ObjectName getThreadPool(String threadPoolId, String targetName) 291 throws MBeanException ; 292 293 public ObjectName getEjbTimerService(String targetName) 294 throws MBeanException ; 295 296 public ObjectName getProfiler(String targetName) 297 throws MBeanException ; 298 299 public ObjectName getSsl(String type, String id, String targetName) 300 throws MBeanException ; 301 302 public ObjectName getSessionProperties(String targetName) 303 throws MBeanException ; 304 305 public ObjectName getManagerProperties(String targetName) 306 throws MBeanException ; 307 308 public ObjectName getStoreProperties(String targetName) 309 throws MBeanException ; 310 311 public ObjectName getChild(String type, 312 String [] location, 313 String targetName) throws MBeanException ; 314 } 315 | Popular Tags |