1 tony 1.1 // ===================================================================
2 // Title: Application MOF Specification 2.8, Application Server
3 // Model
4 // Filename: Application28_AppServer.mof
5 // Version: 2.8
6 // Status: Preliminary
7 // Date: 18 August 2003
8 // CVS: $Revision: 1.3 $
9 // ===================================================================
10 // Copyright 1998-2003 Distributed Management Task Force, Inc. (DMTF).
11 // All rights reserved.
12 // DMTF is a not-for-profit association of industry members dedicated
13 // to promoting enterprise and systems management and interoperability.
14 // DMTF specifications and documents may be reproduced for uses
15 // consistent with this purpose by members and non-members,
16 // provided that correct attribution is given.
17 // As DMTF specifications may be revised from time to time,
18 // the particular version and release date should always be noted.
19 //
20 // Implementation of certain elements of this standard or proposed
21 // standard may be subject to third party patent rights, including
22 tony 1.1 // provisional patent rights (herein "patent rights"). DMTF makes
23 // no representations to users of the standard as to the existence
24 // of such rights, and is not responsible to recognize, disclose, or
25 // identify any or all such third party patent right, owners or
26 // claimants, nor for any incomplete or inaccurate identification or
27 // disclosure of such rights, owners or claimants. DMTF shall have no
28 // liability to any party, in any manner or circumstance, under any
29 // legal theory whatsoever, for failure to recognize, disclose, or
30 // identify any such third party patent rights, or for such party's
31 // reliance on the standard or incorporation thereof in its product,
32 // protocols or testing procedures. DMTF shall have no liability to
33 // any party implementing such standard, whether such implementation
34 // is foreseeable or not, nor to any patent owner or claimant, and shall
35 // have no liability or responsibility for costs or losses incurred if
36 // a standard is withdrawn or modified after publication, and shall be
37 // indemnified and held harmless by any party implementing the
38 // standard from any and all claims of infringement by a patent owner
39 // for such implementations.
40 //
41 // For information about patents held by third-parties which have
42 // notified the DMTF that, in their opinion, such patent may relate to
43 tony 1.1 // or impact implementations of DMTF standards, visit
44 // http://www.dmtf.org/about/policies/disclosures.php.
45 // ===================================================================
46 // Description: These classes represent the characterization of the
47 // management of a Java application server as defined in JSR 77
48 // Version 1.0. They are maintained as a separate MOF file in
49 // the Application Model.
50 //
51 // The object classes below are listed in an order that
52 // avoids forward references. Required objects, defined
53 // by other working groups, are omitted.
54 // ==================================================================
55 // Change Log for v2.8 Preliminary (Company Review)
56 // 31 July 2003
57 // - CR 1109 Changes to properties of core J2ee classes.
58 // - CR 1110 Remove subclasses of HostedService connecting
59 // elements to the Server.
60 // - CR 1112 Change Association names to singular form
61 // - CR 1113 Change the J2eeNotification's IndicationType
62 // property to integer, and add a ValueMap qualifier
63 // to the property. Add the Octetstring qualifier to
64 tony 1.1 // the UserData property. Update several Descriptions
65 // in J2ee_Notification in the AppServer Sub-Model.
66 // - CR 1115 Move to use Instance ID in App Server Model
67 // - CR 1116 Fix Cardinalities
68 // - CR 1118 Remove Start and Stop Methods from
69 // J2eeManagedObject
70 // and use RequestStateChange instead.
71 // - CR 1119 Add a line to the overall MOF description stating
72 // that the classes are based on JSR77 V1.0
73 // - CR 1120 Add a line to the overall MOF description stating
74 // that the classes are based on JSR77 V1.0
75 // - CR 1128 Change subclassing for J2eeModulesUsesJVMs,
76 // J2eeJDBCResourceUsesDataSources,
77 // J2eeJDBCDataSourceDriver,
78 // J2eeConnectionFactoriesAvailableToJCAResource,
79 // and
80 // J2eeJCAConnectionFactoryManagedConnectionFactory
81 // from Dependency to HostedDependency.
82 // - CR 1138 Fix missing model Correspondence
83 // - CR 1140 Remove ManagementState from J2eeManagedObject
84 // and map to OperationalStatus instead. Override
85 tony 1.1 // OperationalStatus and use the Description to
86 // define the mapping.
87 //
88 // Change Log for v2.8 Preliminary
89 // 15 May 2003
90 // - CR 1008 - Original Application Server Model
91 // ===================================================================
92
93 #pragma locale ("en_US")
94 // ====================================================================
95 // CIM_J2eeManagedObjectCapabilities
96 // ====================================================================
97 [Experimental, Abstract, Version ("2.7.1000"), Description (
98 "CIM_J2eeManagedObjectCapabilities is a class for defining "
99 "additional capabilities of J2EE managed objects. It contains "
100 "the attributes that are common to all J2EE managed objects. "
101 "These common attributes are mapped to the corresponding J2EE "
102 "classes using the CIM_ElementCapabilities association.") ]
103 class CIM_J2eeManagedObjectCapabilities : CIM_Capabilities {
104
105 [Override ("InstanceID"), Description (
106 tony 1.1 "InstanceID identifies a unique instance of a J2EE "
107 "ManagedObject's Capabilities in a given namespace. In "
108 "order to ensure uniqueness, the value of InstanceID MUST be "
109 "constructed using the form specified in JSR77.3.1.1.1 in "
110 "order to avoid the need for manual key propagation."),
111 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"},
112 ModelCorrespondence {
113 "CIM_J2EEManagedObjectCapabilities.ElementName"} ]
114 string InstanceID;
115
116 [Override ("ElementName"), Description (
117 "The name of a J2EE managed object. The name MUST be "
118 "constructed using the form specified in JSR77.3.1.1.1 in "
119 "order to avoid the need for manual key propagation."),
120 MaxLen (256),
121 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"},
122 ModelCorrespondence {
123 "CIM_J2EEManagedObjectCapabilities.InstanceID"} ]
124 string ElementName;
125
126 [Description (
127 tony 1.1 "A property that indicates whether the managed object "
128 "implements the state management model as defined in State "
129 "Management chapter of the JSR77 specification. A value of "
130 "true indicates that the managed object implements the state "
131 "management interface. A value of false indicates that the "
132 "managed object does not implement the state management "
133 "interface."),
134 MappingStrings {"JSR77.JCP|JSR77.3.1.1.2 stateManageable|V1.0"} ]
135 Boolean StateManageable;
136
137 [Description (
138 "A property that indicates whether the managed object "
139 "implements the statistics provider model as defined in "
140 "Performance Monitoring chapter of the JSR77 specification. "
141 "A value of true indicates that the managed object "
142 "implements the statistics provider interface. A value of "
143 "false indicates that the managed object does not implement "
144 "the statistics provider interface."),
145 MappingStrings { "JSR77.JCP|JSR77.3.1.1.3 "
146 "statisticsProvider|V1.0"} ]
147 Boolean StatisticsProvider;
148 tony 1.1
149 [Description (
150 "A property that indicates whether the managed object "
151 "implements the event provider model as defined in the "
152 "Events chapter of the JSR77 specification. A value of true "
153 "indicates that the managed object implements the event "
154 "provider interface. A value of false indicates that the "
155 "managed object does not implement the event provider "
156 "interface."),
157 MappingStrings { "JSR77.JCP|JSR77.3.1.1.4 eventProvider|V1.0"} ]
158 boolean EventProvider;
159 };
160
161 // ====================================================================
162 // CIM_J2eeManagedObject
163 // ====================================================================
164 [Experimental, Abstract, Version ("2.7.1000"), Description (
165 "CIM_J2eeManagedObject is a class for defining operations that "
166 "may supported by all J2EE managed objects. It contains the "
167 "attributes and methods that are common to all J2EE managed "
168 "objects. The J2EE Managed objects - for eg. J2eeServer "
169 tony 1.1 "should participate in instances of the CIM_LogicalIdentity "
170 "association with the corresponding instance of the "
171 "J2eeManagedObject class. The start and stop methods of "
172 "JSR77's J2eeManagedObject find an equivalent in the "
173 "RequestStateChange method inherited from "
174 "EnabledLogicalElement. Using Enabled/Disabled as inputs to "
175 "RequestStateChange, one can effect start and stop.") ]
176 class CIM_J2eeManagedObject : CIM_EnabledLogicalElement {
177
178 [Key, Description (
179 "InstanceID identifies a unique instance of a J2EE "
180 "ManagedObject's Capabilities in a given namespace. In "
181 "order to ensure uniqueness, the value of InstanceID MUST be "
182 "constructed using the form specified in JSR77.3.1.1.1 in "
183 "order to avoid the need for manual key propagation."),
184 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"},
185 ModelCorrespondence {"CIM_J2EEManagedObject.Name"} ]
186 string InstanceID;
187
188 [Override ("ElementName"), Description (
189 "The name of a J2EE managed object. The name MUST be "
190 tony 1.1 "constructed using the form specified in JSR77.3.1.1.1 in "
191 "order to avoid the need for manual key propagation."),
192 MaxLen (256),
193 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"},
194 ModelCorrespondence {"CIM_J2EEManagedObject.InstanceID"} ]
195 string ElementName;
196
197 [Override ("OperationalStatus"), Description (
198 "The current state of the entity for J2ee managed objects "
199 "that support state management. If the StateManageable "
200 "property is FALSE, the value of this property MUST be set "
201 "to 0 - Unknown. The mapping from the J2ee management "
202 "states to OperationalStatus is as follows - "
203 "j2ee.state.starting - Starting, j2ee.state.running - OK, "
204 "j2ee.state.stopping - Stopping, j2ee.state.stopped - "
205 "Stopped, and j2ee.state.failed - Error."),
206 ValueMap {"0", "2", "6", "8", "9", "10"},
207 Values {"Unknown", "OK", "Error", "Starting", "Stopping",
208 "Stopped"},
209 MappingStrings {"JSR77.JCP|JSR77.5.1.1.1 state|V1.0"},
210 ModelCorrespondence {
211 tony 1.1 "CIM_J2eeManagedObjectCapabilities.StateManageable"} ]
212 uint16 OperationalStatus[];
213
214 [Description (
215 "The time that the J2EE managed object was started, "
216 "represented as a datetime interval measured as the time "
217 "interval since January 1, 1970, 00:00:00. If the "
218 "StateManageable property of the "
219 "CIM_J2eeManagedObjectCapabilities class is false, this "
220 "value MUST be set to a zero time interval."),
221 MappingStrings {"JSR77.JCP|JSR77.5.1.1.2 startTime|V1.0"},
222 ModelCorrespondence {
223 "CIM_J2eeManagedObjectCapabilities.StateManageable"} ]
224 datetime StartTime = "00000000000000.000000:000";
225
226 [Description (
227 "Starts the J2EE managed object. This operation can only be "
228 "invoked in when State is Stopped. This method, causes "
229 "State to become Starting initially, and eventually becomes "
230 "the RUNNING state. Additionally, StartRecursive() is "
231 "called on all the child StateManageable instances that are "
232 tony 1.1 "registered with this entity and are in the Stopped state. "
233 "The method returns 0 on success and non-zero for failure."),
234 MappingStrings {"JSR77.JCP|JSR77.5.1.2.2 startRecursive|V1.0"} ]
235 uint32 StartRecursive();
236
237 [Description (
238 "This method starts the J2EE managed object. This operation "
239 "can only be invoked when the OperationalStatus is Stopped. "
240 "Note that StartService() will not be called on any of the "
241 "child StateManageable instances that are registered with "
242 "this instance. It is the responsibility of the calling "
243 "application to start the child if required. The method "
244 "returns 0 on success and non-zero for failure."),
245 MappingStrings {"JSR77.JCP|JSR77.5.1.2.1 start|V1.0"} ]
246 uint32 Start();
247
248 [Description (
249 "This method stops the J2EE managed object and all dependent "
250 "objects that can be identified by following the "
251 "Dependency/Component associations this object's identity "
252 "participates in."),
253 tony 1.1 MappingStrings {"JSR77.JCP|JSR77.5.1.2.3 stop|V1.0"} ]
254 uint32 Stop();
255 };
256
257
258 // ====================================================================
259 // CIM_J2eeDomain - JSR77.3.2
260 // ====================================================================
261 [Experimental, Version ("2.7.1000"), Description (
262 "CIM_J2eeDomain identifies the J2EE Domains that are part of "
263 "the J2EE management environment. Domains provide a structure "
264 "for grouping J2EE Server objects.") ]
265 class CIM_J2eeDomain : CIM_AdminDomain {
266
267 [Override ("Name"), Description (
268 "The name of the J2EE server domain. The name MUST be "
269 "constructed using the form specified in JSR77.3.1.1.1 in "
270 "order to avoid the need for manual key propagation."),
271 MaxLen (256),
272 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1.1 Domain Name|V1.0"} ]
273 string Name;
274 tony 1.1 };
275
276
277 // ====================================================================
278 // CIM_J2eeServer - JSR77.3.3
279 // ====================================================================
280 [Experimental, Version ("2.7.1000"), Description (
281 "The CIM_J2eeServer class represents the J2EE Server core of "
282 "one instance of a J2EE platform product as described in the "
283 "Java 2 Enterprise Edition Platform specification.") ]
284 class CIM_J2eeServer : CIM_ApplicationSystem {
285
286 [Override ("Name"), Description (
287 "The name of a J2EE Server. The name MUST be constructed "
288 "using the form specified in JSR77.3.1.1.1 in order to avoid "
289 "the need for manual key propagation."),
290 MaxLen (256),
291 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"} ]
292 string Name;
293
294 [Description (
295 tony 1.1 "The name of the server's vendor."),
296 MappingStrings {"JSR77.JCP|JSR77.3.3.1.4 serverVendor|V1.0"} ]
297 string Vendor;
298
299 [Description (
300 "The J2EE implementation version of the J2EE server."),
301 MappingStrings {"JSR77.JCP|JSR77.3.3.1.5 serverVersion|V1.0"} ]
302 string Version;
303 };
304
305
306 // ==================================================================
307 // CIM_J2eeServerInDomain (Association) - JSR77.3.2.1.1
308 // ==================================================================
309 [Association, Experimental, Aggregation, Version ("2.7.1000"),
310 Description (
311 "The CIM_J2eeServerInDomain association identifies the J2EE "
312 "Server that are part of a J2EE Domain for management "
313 "purposes.") ]
314 class CIM_J2eeServerInDomain : CIM_SystemComponent {
315
316 tony 1.1 [Aggregate, Override ("GroupComponent"), Min (1), Max (1),
317 Description (
318 "The J2ee Management Domain.") ]
319 CIM_J2eeDomain REF GroupComponent;
320
321 [Override ("PartComponent"), Min (1), Description (
322 "The J2ee Server that is a member of the domain.") ]
323 CIM_J2eeServer REF PartComponent;
324 };
325
326
327 // ====================================================================
328 // CIM_J2eeJVM - JSR77.3.4
329 // ====================================================================
330 [Experimental, Version ("2.7.1000"), Description (
331 "The CIM_J2eeJVM class identifies a Java VM that is utilized by "
332 "a J2EE server. For each Java VM that is running threads "
333 "associated with the J2EE server, its containers or resources, "
334 "there must be an instance in this class. The instance must be "
335 "removed when the Java VM is no longer running. The reason "
336 "this class subclasses from a class as high up in the hierarchy "
337 tony 1.1 "as CIM_EnabledLogicalElement is the absence of a class that "
338 "models Interpreters, Emulators and the like. The JVM is not "
339 "an OS, but then neither is it just a process. In v2.9, we "
340 "hope to plug this hole by introducing a class that will model "
341 "interpreters and emulators. At this point, the JVM class can "
342 "be pushed down in the hierarchy.") ]
343 class CIM_J2eeJVM : CIM_EnabledLogicalElement {
344
345 [Key, Description (
346 "InstanceID identifies a unique instance of a J2ee JVM In "
347 "order to ensure uniqueness, the value of InstanceID MUST be "
348 "constructed using the form specified in JSR77.3.1.1.1 in "
349 "order to avoid the need for manual key propagation."),
350 ModelCorrespondence {"CIM_J2eeJVM.Name"} ]
351 string InstanceID;
352
353 [Override ("Name"), Description (
354 "The name of a J2EE JVM. The name MUST be constructed using "
355 "the form specified in JSR77.3.1.1.1 in order to avoid the "
356 "need for manual key propagation."),
357 MaxLen (256),
358 tony 1.1 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"},
359 ModelCorrespondence {"CIM_J2eeJVM.InstanceID"} ]
360 string Name;
361
362 [Description (
363 "The Java Runtime Environment version of the JVM."),
364 MappingStrings {"JSR77.JCP|JSR77.3.4.1.1 javaVersion|V1.0"} ]
365 string JavaVersion;
366
367 [Description (
368 "The Java Runtime Environment vendor of the JVM."),
369 MappingStrings {"JSR77.JCP|JSR77.3.4.1.2 javaVendor|V1.0"} ]
370 string JavaVendor;
371
372 [Description (
373 "The node (machine) this JVM is running on."),
374 MappingStrings {"JSR77.JCP|JSR77.3.4.1.3 node|V1.0"} ]
375 string Node;
376 };
377
378
379 tony 1.1 // ====================================================================
380 // CIM_J2eeServerUsesJVM (association) - JSR77.3.4
381 // ====================================================================
382 [Association, Experimental, Version ("2.7.1000"), Description (
383 "The association between a J2EE server and the Java virtual "
384 "machine on which the J2EE server has running threads.") ]
385 class CIM_J2eeServerUsesJVM : CIM_Dependency {
386
387 [Override ("Antecedent"), Min (1), Description (
388 "The Java VM that is used by the J2ee Server.") ]
389 CIM_J2eeJVM REF Antecedent;
390
391 [Override ("Dependent"), Min (1), Description (
392 "The J2ee Server that has threads running on the JVM.") ]
393 CIM_J2eeServer REF Dependent;
394 };
395
396
397 // ==================================================================
398 // CIM_J2eeDeployedObject - JSR77.3.5
399 // ==================================================================
400 tony 1.1 [Experimental, Abstract, Version ("2.7.1000"), Description (
401 "The CIM_J2eeDeployedObject class is an abstract class that is "
402 "used to define CIM_J2eeModule and CIM_J2eeApplication objects "
403 "that are deployed in the CIM_J2eeServer. The Deployed Objects "
404 "are hosted by a J2ee Server and should hence be associated to "
405 "a J2eeServer instance through the CIM_HostedService "
406 "association. The scoping keys in the instance are provided by "
407 "the J2eeServer hosting the deployed object.") ]
408 class CIM_J2eeDeployedObject : CIM_Service {
409
410 [Override ("Name"), Description (
411 "The name of a J2EE deployed object. The name MUST be "
412 "constructed using the form specified in JSR77.3.1.1.1 in "
413 "order to avoid the need for manual key propagation."),
414 MaxLen (256),
415 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"} ]
416 string Name;
417
418 [Description (
419 "Contains the original XML deployment descriptor that was "
420 "created for this module during the deployment process."),
421 tony 1.1 MappingStrings { "JSR77.JCP|JSR77.3.5.0.1 "
422 "deploymentDescriptor|V1.0"} ]
423 string DeploymentDescriptor;
424 };
425
426
427 // ====================================================================
428 // CIM_J2eeModule - JSR77.3.7
429 // ====================================================================
430 [Experimental, Abstract, Version ("2.7.1000"), Description (
431 "The CIM_J2eeModule class is an abstract class from which all "
432 "J2EE module type classes extend. These represent EAR, JAR, "
433 "WAR, and RAR files that have been deployed.") ]
434 class CIM_J2eeModule : CIM_J2eeDeployedObject {
435 };
436
437
438 // ====================================================================
439 // CIM_J2eeApplication - JSR77.3.6
440 // ====================================================================
441 [Experimental, Version ("2.7.1000"), Description (
442 tony 1.1 "CIM_J2eeApplication identifies the J2EE application EAR that "
443 "has been deployed.") ]
444 class CIM_J2eeApplication : CIM_J2eeDeployedObject {
445 };
446
447 // ==================================================================
448 // CIM_J2eeApplicationModule (Association) - JSR77.3.6.1.1
449 // ==================================================================
450 [Association, Experimental, Aggregation, Version ("2.7.1000"),
451 Description (
452 "The CIM_J2eeApplicationModule association identifies a "
453 "software module for a particular J2EE Application.") ]
454 class CIM_J2eeApplicationModule : CIM_ServiceComponent {
455
456 [Aggregate, Override ("GroupComponent"), Description (
457 "The J2ee Application that is comprised of modules.") ]
458 CIM_J2eeApplication REF GroupComponent;
459
460 [Override ("PartComponent"), Description (
461 "The Module that is part of a J2ee Application.") ]
462 CIM_J2eeModule REF PartComponent;
463 tony 1.1 };
464
465
466 // ==================================================================
467 // CIM_J2eeModuleUsesJVM (Association) - JSR77.3.7.1.1
468 // ==================================================================
469 [Association, Experimental, Version ("2.7.1000"), Description (
470 "The CIM_J2eeModuleUsesJVM association identifies the JVM that "
471 "a specific Module runs in.") ]
472 class CIM_J2eeModuleUsesJVM: CIM_HostedDependency {
473
474 [Override ("Dependent"), Description (
475 "The Module that uses a Java Virtual Machine.") ]
476 CIM_J2eeModule REF Dependent;
477
478 [Override ("Antecedent"), Min (1), Description (
479 "The Java VM on which the module is running.") ]
480 CIM_J2eeJVM REF Antecedent;
481 };
482
483
484 tony 1.1 // ====================================================================
485 // CIM_J2eeAppClientModule - JSR77.3.8
486 // ====================================================================
487 [Experimental, Version ("2.7.1000"), Description (
488 "CIM_J2eeCIM_J2eeAppClientModule identifies a deployed "
489 "Application Client Module.") ]
490 class CIM_J2eeAppClientModule : CIM_J2eeModule {
491 };
492
493
494 // ==================================================================
495 // CIM_J2eeEJBModule - JSR77.3.9
496 // ==================================================================
497 [Experimental, Version ("2.7.1000"), Description (
498 "CIM_J2eeEJBModule identifies a deployed EJB module and is a "
499 "container for CIM_J2eeEJBs.") ]
500 class CIM_J2eeEJBModule : CIM_J2eeModule {
501 };
502
503
504 // ==================================================================
505 tony 1.1 // CIM_J2eeEJB - JSR77.3.10
506 // ==================================================================
507 [Experimental, Abstract, Version ("2.7.1000"), Description (
508 "The CIM_J2eeEJB class is base class that represents different "
509 "types of deployed Enterprise JavaBean components. The EJB is "
510 "hosted by a J2ee Server and should hence be associated to a "
511 "J2eeServer instance through the CIM_HostedService "
512 "association. The scoping keys in the instance are provided by "
513 "the J2eeServer hosting the EJB.") ]
514 class CIM_J2eeEJB : CIM_Service {
515
516 [Override ("Name"), Description (
517 "The name of an EJB. The name MUST be constructed using the "
518 "form specified in JSR77.3.1.1.1 in order to avoid the need "
519 "for manual key propagation."),
520 MaxLen (256),
521 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"} ]
522 string Name;
523 };
524
525
526 tony 1.1 // ==================================================================
527 // CIM_J2eeMessageDrivenBean - JSR77.3.11
528 // ==================================================================
529 [Experimental, Version ("2.7.1000"), Description (
530 "Identifies a deployed message driven bean within an EJB "
531 "module.") ]
532 class CIM_J2eeMessageDrivenBean : CIM_J2eeEJB {
533 };
534
535
536 // ==================================================================
537 // CIM_J2eeEntityBean - JSR77.3.12
538 // ==================================================================
539 [Experimental, Version ("2.7.1000"), Description (
540 "Identifies a deployed entity bean within an EJB module.") ]
541 class CIM_J2eeEntityBean : CIM_J2eeEJB {
542 };
543
544
545 // ==================================================================
546 // CIM_J2eeSessionBean - JSR77.3.13
547 tony 1.1 // ==================================================================
548 [Experimental, Abstract, Version ("2.7.1000"), Description (
549 "The CIM_J2eeSessionBean class is a base class that represents "
550 "specific types of deployed Session beans.") ]
551 class CIM_J2eeSessionBean : CIM_J2eeEJB {
552 };
553
554
555 // ==================================================================
556 // CIM_J2eeStatefulSessionBean - JSR77.3.14
557 // ==================================================================
558 [Experimental, Version ("2.7.1000"), Description (
559 "Identifies a deployed stateful session bean within an EJB "
560 "module.") ]
561 class CIM_J2eeStatefulSessionBean : CIM_J2eeSessionBean {
562 };
563
564
565 // ==================================================================
566 // CIM_J2eeStatelessSessionBean - JSR77.3.15
567 // ==================================================================
568 tony 1.1 [Experimental, Version ("2.7.1000"), Description (
569 "Identifies a deployed stateless session bean within an EJB "
570 "module.") ]
571 class CIM_J2eeStatelessSessionBean : CIM_J2eeSessionBean {
572 };
573
574
575 // ==================================================================
576 // CIM_J2eeEJBInModule (Association) - JSR77.3.9.1.1
577 // ==================================================================
578 [Association, Experimental, Aggregation, Version ("2.7.1000"),
579 Description (
580 "CIM_J2eeEJBInModule is a aggregation of the EJB components "
581 "within a deployed EJB JAR module.") ]
582 class CIM_J2eeEJBInModule : CIM_ServiceComponent {
583
584 [Aggregate, Override ("GroupComponent"), Min (1), Max (1),
585 Description (
586 "The EJB Module that is comprised of EJBs.") ]
587 CIM_J2eeEJBModule REF GroupComponent;
588
589 tony 1.1 [Override ("PartComponent"), Min (1), Description (
590 "The EJB that is a part of the EJB Module.") ]
591 CIM_J2eeEJB REF PartComponent;
592 };
593
594 // ====================================================================
595 // CIM_J2eeWebModule - JSR77.3.16
596 // ====================================================================
597 [Experimental, Version ("2.7.1000"), Description (
598 "CIM_J2eeWebModule identifies a deployed WAR module and is a "
599 "container for Servlets.") ]
600 class CIM_J2eeWebModule : CIM_J2eeModule {
601 };
602
603
604 // ==================================================================
605 // CIM_J2eeServlet - JSR77.3.17
606 // ==================================================================
607 [Experimental, Version ("2.7.1000"), Description (
608 "Identifies a deployed servlet component. The Servlet is "
609 "hosted by a J2ee Server and should hence be associated to a "
610 tony 1.1 "J2eeServer instance through the CIM_HostedService "
611 "association. The scoping keys in the instance are provided by "
612 "the J2eeServer hosting the servlet.") ]
613 class CIM_J2eeServlet : CIM_Service {
614
615 [Override ("Name"), Description (
616 "The name of a J2EE Servlet. The name MUST be constructed "
617 "using the form specified in JSR77.3.1.1.1 in order to avoid "
618 "the need for manual key propagation."),
619 MaxLen (256),
620 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"} ]
621 string Name;
622 };
623
624 // ==================================================================
625 // CIM_J2eeServletInModule (Association) - JSR77.3.16.1.1
626 // ==================================================================
627 [Association, Experimental, Aggregation, Version ("2.7.1000"),
628 Description (
629 "CIM_J2eeServletInModule is a aggregation of the servlet "
630 "components within a deployed WAR module.") ]
631 tony 1.1 class CIM_J2eeServletInModule : CIM_ServiceComponent {
632
633 [Aggregate, Override ("GroupComponent"), Min (1), Max (1),
634 Description (
635 "The Web Module that is comprised of servlets.") ]
636 CIM_J2eeWebModule REF GroupComponent;
637
638 [Override ("PartComponent"), Min (1), Description (
639 "The Servlet that is a part of the Web Module.") ]
640 CIM_J2eeServlet REF PartComponent;
641 };
642
643
644 // ====================================================================
645 // CIM_J2eeResourceAdapterModule - JSR77.3.18
646 // ====================================================================
647 [Experimental, Version ("2.7.1000"), Description (
648 "CIM_J2eeCIM_J2eeResourceAdapterModule identifies a deployed "
649 "Resource Adapter Module and is a container for resource "
650 "adapters.") ]
651 class CIM_J2eeResourceAdapterModule : CIM_J2eeModule {
652 tony 1.1 };
653
654
655 // ==================================================================
656 // CIM_J2eeResourceAdapter - JSR77.3.19
657 // ==================================================================
658 [Experimental, Version ("2.7.1000"), Description (
659 "Identifies a deployed Resource Adapter within a Resource "
660 "Adapter Module. The resource adapter is hosted by a J2ee "
661 "Server and should hence be associated to a J2eeServer instance "
662 "through the CIM_HostedService association. The scoping keys "
663 "in the instance are provided by the J2eeServer hosting the "
664 "resource adapter.") ]
665 class CIM_J2eeResourceAdapter : CIM_Service {
666
667 [Override ("Name"), Description (
668 "The name of a J2EE Resource Adapter. The name MUST be "
669 "constructed using the form specified in JSR77.3.1.1.1 in "
670 "order to avoid the need for manual key propagation."),
671 MaxLen (256),
672 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"} ]
673 tony 1.1 string Name;
674 };
675
676 // ==================================================================
677 // CIM_J2eeResourceAdapterInModule (Association) - JSR77.3.18.1.1
678 // ==================================================================
679 [Association, Experimental, Aggregation, Version ("2.7.1000"),
680 Description (
681 "CIM_J2eeResourceAdapterInModule is an aggregation of the "
682 "resource adapters contained within a deployed RAR Module.") ]
683 class CIM_J2eeResourceAdapterInModule : CIM_ServiceComponent {
684
685 [Aggregate, Override ("GroupComponent"), Min (1), Description (
686 "The ResourceAdapter Module that is comprised of resource "
687 "adapters.") ]
688 CIM_J2eeResourceAdapterModule REF GroupComponent;
689
690 [Override ("PartComponent"), Min (1), Description (
691 "The resource adapter that is a part of the resource adapter "
692 "Module.") ]
693 CIM_J2eeResourceAdapter REF PartComponent;
694 tony 1.1 };
695
696
697 // ==================================================================
698 // CIM_J2eeResource - JSR77.3.20
699 // ==================================================================
700 [Experimental, Abstract, Version ("2.7.1000"), Description (
701 "The J2eeResource class is a base class for all managed object "
702 "types that represent J2EE resources. J2EE resources are "
703 "resources that are utilized by the J2EE server to provide the "
704 "J2EE standard services required by the J2EE platform "
705 "architecture. The J2EEResource class has several subclasses "
706 "that do not add any new properties. The option of using a "
707 "type property to identify the different resource types while "
708 "doing away with the numerous empty subclasses was not chosen "
709 "because the subclasses, when enhanced by vendor specific "
710 "extensions are significantly different from each other.") ]
711 class CIM_J2eeResource : CIM_SystemResource {
712
713 [Key, Description (
714 "InstanceID identifies a unique instance of a J2ee "
715 tony 1.1 "Resource. In order to ensure uniqueness, the value of "
716 "InstanceID MUST be constructed using the form specified in "
717 "JSR77.3.1.1.1 in order to avoid the need for manual key "
718 "propagation."),
719 ModelCorrespondence {"CIM_J2eeResource.Name"} ]
720 string InstanceID;
721
722 [Override ("Name"), Description (
723 "The name of a J2EE Resource. The name MUST be constructed "
724 "using the form specified in JSR77.3.1.1.1 in order to avoid "
725 "the need for manual key propagation."),
726 MaxLen (256),
727 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"},
728 ModelCorrespondence {"CIM_J2eeResource.InstanceID"} ]
729 string Name;
730 };
731
732
733 // ==================================================================
734 // CIM_J2eeResourceOnServer (Association) JSR77.3.3.1.2
735 // ==================================================================
736 tony 1.1 [Association, Experimental, Version ("2.7.1000"), Description (
737 "CIM_J2eeResourceOnServer is an association that establishes "
738 "the relationship between a J2EE server and its resources.") ]
739 class CIM_J2eeResourceOnServer : CIM_ResourceOfSystem {
740
741 [Override ("GroupComponent"), Min (1), Max (1), Description (
742 "The Server exposing the resources.") ]
743 CIM_J2eeServer REF GroupComponent;
744
745 [Override ("PartComponent"), Description (
746 "The resource that is a component of the server.") ]
747 CIM_J2eeResource REF PartComponent;
748 };
749
750
751 // ==================================================================
752 // CIM_J2eeJavaMailResource - JSR77.3.21
753 // ==================================================================
754 [Experimental, Version ("2.7.1000"), Description (
755 "CIM_J2eeJavaMailResource identifies a JavaMail resource.") ]
756 class CIM_J2eeJavaMailResource : CIM_J2eeResource {
757 tony 1.1 };
758
759
760 // ==================================================================
761 // CIM_J2eeJCAResource - JSR77.3.22
762 // ==================================================================
763 [Experimental, Version ("2.7.1000"), Description (
764 "CIM_J2eeJCAResource identifies a JCA resource.") ]
765 class CIM_J2eeJCAResource : CIM_J2eeResource {
766 };
767
768
769 // ==================================================================
770 // CIM_J2eeJCAConnectionFactory - JSR77.3.23
771 // ==================================================================
772 [Experimental, Version ("2.7.1000"), Description (
773 "The CIM_J2eeJCAConnectionFactory class identifies individual "
774 "JCA connection factories.") ]
775 class CIM_J2eeJCAConnectionFactory : CIM_EnabledLogicalElement {
776
777 [Key, Description (
778 tony 1.1 "InstanceID identifies a unique instance of a J2ee "
779 "JCAConnectionFactory. In order to ensure uniqueness, the "
780 "value of InstanceID MUST be constructed using the form "
781 "specified in JSR77.3.1.1.1 in order to avoid the need for "
782 "manual key propagation."),
783 ModelCorrespondence {"CIM_J2eeJCAConnectionFactory.Name"} ]
784 string InstanceID;
785
786 [Override ("Name"), Description (
787 "The name of a J2EE JCAConnectionFactory. The name MUST be "
788 "constructed using the form specified in JSR77.3.1.1.1 in "
789 "order to avoid the need for manual key propagation."),
790 MaxLen (256),
791 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"},
792 ModelCorrespondence {"CIM_J2eeJCAConnectionFactory.InstanceID"} ]
793 string Name;
794 };
795
796
797 // ==================================================================
798 // CIM_J2eeJDBCResource - JSR77.3.25
799 tony 1.1 // ==================================================================
800 [Experimental, Version ("2.7.1000"), Description (
801 "CIM_J2eeJDBCResource identifies a JDBC resource. A JDBC "
802 "resource manages one or more JDBC data sources.") ]
803 class CIM_J2eeJDBCResource : CIM_J2eeResource {
804 };
805
806
807 // ==================================================================
808 // CIM_J2eeJMSResource - JSR77.3.28
809 // ==================================================================
810 [Experimental, Version ("2.7.1000"), Description (
811 "CIM_J2eeJMSResource identifies a JMS resource.") ]
812 class CIM_J2eeJMSResource : CIM_J2eeResource {
813 };
814
815
816 // ==================================================================
817 // CIM_J2eeJNDIResource - JSR77.3.29
818 // ==================================================================
819 [Experimental, Version ("2.7.1000"), Description (
820 tony 1.1 "CIM_J2eeJNDIResource identifies a Java Naming and Directory "
821 "Interface (JNDI) resource.") ]
822 class CIM_J2eeJNDIResource : CIM_J2eeResource {
823 };
824
825
826 // ==================================================================
827 // CIM_J2eeJTAResource - JSR77.3.30
828 // ==================================================================
829 [Experimental, Version ("2.7.1000"), Description (
830 "CIM_J2eeJTAResource identifies a Java Transaction API (JTA) "
831 "resource.") ]
832 class CIM_J2eeJTAResource : CIM_J2eeResource {
833 };
834
835
836 // ==================================================================
837 // CIM_J2eeRMI_IIOPResource - JSR77.3.31
838 // ==================================================================
839 [Experimental, Version ("2.7.1000"), Description (
840 "CIM_J2eeRMI_IIOPResource identifies an RMI_IIOP resource.") ]
841 tony 1.1 class CIM_J2eeRMI_IIOPResource : CIM_J2eeResource {
842 };
843
844
845 // ==================================================================
846 // CIM_J2eeURLResource - JSR77.3.32
847 // ==================================================================
848 [Experimental, Version ("2.7.1000"), Description (
849 "CIM_J2eeURLResource identifies a URL resource.") ]
850 class CIM_J2eeURLResource : CIM_J2eeResource {
851 };
852
853
854 // ==================================================================
855 // CIM_J2eeJCAManagedConnectionFactory - JSR77.3.24
856 // ==================================================================
857 [Experimental, Version ("2.7.1000"), Description (
858 "This class identifies JCA managed connection factories.") ]
859 class CIM_J2eeJCAManagedConnectionFactory : CIM_EnabledLogicalElement {
860
861 [Key, Description (
862 tony 1.1 "InstanceID identifies a unique instance of a J2ee "
863 "JCAManagedConnectionFactory. In order to ensure "
864 "uniqueness, the value of InstanceID MUST be constructed "
865 "using the form specified in JSR77.3.1.1.1 in order to avoid "
866 "the need for manual key propagation."),
867 ModelCorrespondence {"CIM_J2eeJCAManagedConnectionFactory.Name"} ]
868 string InstanceID;
869
870 [Override ("Name"), Description (
871 "The name of a J2EE JCAManagedConnectionFactory. The name "
872 "MUST be constructed using the form specified in "
873 "JSR77.3.1.1.1 in order to avoid the need for manual key "
874 "propagation."),
875 MaxLen (256),
876 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"},
877 ModelCorrespondence
878 {"CIM_J2eeJCAManagedConnectionFactory.InstanceID"} ]
879 string Name;
880 };
881
882
883 tony 1.1 // ==================================================================
884 // CIM_J2eeJDBCDataSource - JSR77.3.26
885 // ==================================================================
886 [Experimental, Version ("2.7.1000"), Description (
887 "The CIM_J2eeJDBCDataSource class contains instances that "
888 "identify physical JDBC data sources.") ]
889 class CIM_J2eeJDBCDataSource : CIM_EnabledLogicalElement {
890
891 [Key, Description (
892 "InstanceID identifies a unique instance of a J2ee "
893 "JDBCDataSource. In order to ensure uniqueness, the value "
894 "of InstanceID MUST be constructed using the form specified "
895 "in JSR77.3.1.1.1 in order to avoid the need for manual key "
896 "propagation."),
897 ModelCorrespondence {"CIM_J2eeJDBCDataSource.Name"} ]
898 string InstanceID;
899
900 [Override ("Name"), Description (
901 "The name of a J2EE JDBCDataSource. The name MUST be "
902 "constructed using the form specified in JSR77.3.1.1.1 in "
903 "order to avoid the need for manual key propagation."),
904 tony 1.1 MaxLen (256),
905 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"},
906 ModelCorrespondence {"CIM_J2eeJDBCDataSource.InstanceID"} ]
907 string Name;
908 };
909
910
911 // ==================================================================
912 // CIM_J2eeJDBCDriver - JSR77.3.27
913 // ==================================================================
914 [Experimental, Version ("2.7.1000"), Description (
915 "The CIM_J2eeJDBCDriver class identifies individual JDBC "
916 "drivers.") ]
917 class CIM_J2eeJDBCDriver : CIM_EnabledLogicalElement {
918
919 [Key, Description (
920 "InstanceID identifies a unique instance of a J2ee "
921 "JDBCDriver. In order to ensure uniqueness, the value of "
922 "InstanceID MUST be constructed using the form specified in "
923 "JSR77.3.1.1.1 in order to avoid the need for manual key "
924 "propagation."),
925 tony 1.1 ModelCorrespondence {"CIM_J2eeJDBCDriver.Name"} ]
926 string InstanceID;
927
928 [Override ("Name"), Description (
929 "The name of a J2EE JDBCDriver. The name MUST be "
930 "constructed using the form specified in JSR77.3.1.1.1 in "
931 "order to avoid the need for manual key propagation."),
932 MaxLen (256),
933 MappingStrings {"JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0"},
934 ModelCorrespondence {"CIM_J2eeJDBCDriver.InstanceID"} ]
935 string Name;
936 };
937
938
939 // ==================================================================
940 // CIM_J2eeJDBCResourceUsesDataSource (Association) - JSR77.3.25.1.1
941 // ==================================================================
942 [Association, Experimental, Version ("2.7.1000"), Description (
943 "CIM_J2eeJDBCResourceUsesDataSource is an association that "
944 "identifies the JDBC data sources that are available to a "
945 "CIM_J2eeJDBCResource.") ]
946 tony 1.1 class CIM_J2eeJDBCResourceUsesDataSource : CIM_HostedDependency {
947
948 [Override ("Dependent"), Min (1), Max (1), Description (
949 "The JDBC Resource that requires a Data Source.") ]
950 CIM_J2eeJDBCResource REF Dependent;
951
952 [Override ("Antecedent"), Min (1), Description (
953 "The Data Source that is being used by a JDBC Resource.") ]
954 CIM_J2eeJDBCDataSource REF Antecedent;
955 };
956
957
958 // ==================================================================
959 // CIM_J2eeJDBCDataSourceDriver (Association) - JSR77.3.26.1.1
960 // ==================================================================
961 [Association, Experimental, Version ("2.7.1000"), Description (
962 "CIM_J2eeJDBCDataSourceDriver associates the JDBC driver with a "
963 "JDBC data source.") ]
964 class CIM_J2eeJDBCDataSourceDriver : CIM_HostedDependency {
965
966 [Override ("Dependent"), Min (1) ]
967 tony 1.1 CIM_J2eeJDBCDataSource REF Dependent;
968
969 [Override ("Antecedent"), Min (1), Max (1) ]
970 CIM_J2eeJDBCDriver REF Antecedent;
971 };
972
973
974 // ==================================================================
975 // CIM_J2eeConnectionFactoryAvailableToJCAResource(Association)
976 // JSR77.3.22.1.1
977 // ==================================================================
978 [Association, Experimental, Version ("2.7.1000"), Description (
979 "CIM_J2eeConnectionFactoryAvailableToJCAResource is an "
980 "association that identifies the connection factory that is "
981 "available to a CIM_J2eeJCAResource object.") ]
982 class CIM_J2eeConnectionFactoryAvailableToJCAResource : CIM_HostedDependency {
983
984 [Override ("Dependent"), Min (1), Max (1), Description (
985 "The JCA Resource that requires a Connection Factory.") ]
986 CIM_J2eeJCAResource REF Dependent;
987
988 tony 1.1 [Override ("Antecedent"), Min (1), Description (
989 "The Connection Factory being used by a JCA Resource.") ]
990 CIM_J2eeJCAConnectionFactory REF Antecedent;
991 };
992
993
994 // ==================================================================
995 // CIM_J2eeJCAConnectionFactoryManagedConnectionFactory (Association)
996 // JSR77.3.23.1.1
997 // ==================================================================
998 [Association, Experimental, Version ("2.7.1000"), Description (
999 "CIM_J2eeJCAConnectionFactoryManagedConnectionFactory "
1000 "identifies the JCA managed connection factory associated with "
1001 "the corresponding JCA connection factory .") ]
1002 class CIM_J2eeJCAConnectionFactoryManagedConnectionFactory: CIM_HostedDependency {
1003
1004 [Override ("Dependent"), Min (1) ]
1005 CIM_J2eeJCAConnectionFactory REF Dependent;
1006
1007 [Override ("Antecedent"), Min (1), Max (1) ]
1008 CIM_J2eeJCAManagedConnectionFactory REF Antecedent;
1009 tony 1.1 };
1010
1011
1012 // ====================================================================
1013 // CIM_J2eeNotification - JSR77.4.2
1014 // ====================================================================
1015 [Indication, Experimental, Version ("2.7.1000"), Description (
1016 "The J2eeNotification class specifies the properties that must "
1017 "be included in every event that is generated by a J2EE managed "
1018 "object that supports the event model. All management systems "
1019 "that support event notification must support all of the "
1020 "properties in this class.") ]
1021 class CIM_J2eeNotification : CIM_ProcessIndication {
1022
1023 [Override ("IndicationIdentifier"), Description (
1024 "The identifier for the indication, represented as the name "
1025 "of the source J2EE managed object that generated the "
1026 "event. The name MUST be constructed using the form "
1027 "specified in JSR77.3.1.1.1."),
1028 MappingStrings {"JSR77.JCP|JSR77.4.2.1.1 source|V1.0"},
1029 ModelCorrespondence {"CIM_J2eeManagedObject.Name"} ]
1030 tony 1.1 string IndicationIdentifier;
1031
1032 [Description (
1033 "The sequence number of the indication. Identifies the "
1034 "position of the indication in a stream of indications. The "
1035 "sequence number provides a means of determining the order "
1036 "of sequential indications that occurred with the same "
1037 "timestamp (within the minimum supported unit of time)."),
1038 MappingStrings {"JSR77.JCP|JSR77.4.2.1.3 sequence|V1.0"} ]
1039 sint64 SequenceNumber;
1040
1041 [Description (
1042 "The type of the indication. The type is assigned by the "
1043 "source object that generated the indication. It conveys "
1044 "the semantic meaning of the particular indication. The "
1045 "standard types (starting, stopping, running, etc.) MUST be "
1046 "described by this property's enumeration. Other values MAY "
1047 "also be specified by entering 1 (\"Other\") in this "
1048 "property and placing the type's string value in "
1049 "OtherIndicationType. The latter SHOULD be interpreted as a "
1050 "number of dot-separated components. This allows some "
1051 tony 1.1 "structure in the naming of indication types. Source "
1052 "objects are free to define any types that they wish to use "
1053 "when naming the indications that they generate.\n"
1054 "\n"
1055 "Note that this enumeration is defined by examining "
1056 "J2eeManagedObject's OperationalStatus property, by the "
1057 "creation or deletion of the J2eeManagedObject instance, or "
1058 "is the decision of the JSR77 experts or the "
1059 "implementation. It is not a one-to-one mapping of the "
1060 "OperationalStatus property in ManagedSystemElement, and is "
1061 "therefore a unique enumeration and specific "
1062 "ProcessIndication."),
1063 ValueMap {"0", "1", "2", "3", "4", "5", "6", "7", "8"},
1064 Values {"Unknown", "Other", "j2ee.object.created",
1065 "j2ee.object.deleted", "j2ee.state.starting",
1066 "j2ee.state.running", "j2ee.state.stopping",
1067 "j2ee.state.stopped", "j2ee.state.failed"},
1068 MappingStrings {"JSR77.JCP|JSR77.4.2.1.4 type|V1.0"},
1069 ModelCorrespondence {
1070 "CIM_J2eeNotification.OtherIndicationType"} ]
1071 uint16 IndicationType;
1072 tony 1.1
1073 [Description (
1074 "The type of the indication when a non-standard event is "
1075 "generated by the source object. This value MUST be "
1076 "specified when IndicationType is set to 1 (\"Other\")."),
1077 ModelCorrespondence { "CIM_J2eeNotification.IndicationType"} ]
1078 string OtherIndicationType;
1079
1080 [Description (
1081 "An informational message about the indication.") ]
1082 string Message;
1083
1084 [Description (
1085 "Optional data that the notication broadcaster wishes to "
1086 "communicate to listeners. The content of the data is user "
1087 "specific. The UserData property may be null."),
1088 OctetString ]
1089 string UserData;
1090 };
1091
1092
1093 tony 1.1 // ==================================================================
1094 // end of file
1095 // ==================================================================
|