(file) Return to CIM_J2eeManagedObject.mof CVS log (file) (dir) Up to [Pegasus] / pegasus / Schemas / CIM231 / DMTF / Application

  1 marek 1.1 // Copyright (c) 2008 DMTF.  All rights reserved.
  2              [Abstract, Version ( "2.19.0" ), 
  3               UMLPackagePath ( "CIM::Application::J2eeAppServer" ), 
  4               Description ( 
  5                  "CIM_J2eeManagedObject is a class for defining operations that "
  6                  "may supported by all J2EE managed objects. It contains the "
  7                  "attributes and methods that are common to all J2EE managed "
  8                  "objects. The J2EE Managed objects - for eg. J2eeServer should "
  9                  "participate in instances of the CIM_LogicalIdentity "
 10                  "association with the corresponding instance of the "
 11                  "J2eeManagedObject class. The start and stop methods of JSR77\'s "
 12                  "J2eeManagedObject find an equivalent in the RequestStateChange "
 13                  "method inherited from EnabledLogicalElement. Using "
 14                  "Enabled/Disabled as inputs to RequestStateChange, one can "
 15                  "effect start and stop." )]
 16           class CIM_J2eeManagedObject : CIM_EnabledLogicalElement {
 17           
 18                 [Key, Override ( "InstanceID" ), 
 19                  Description ( 
 20                     "InstanceID identifies a unique instance of a J2EE "
 21                     "ManagedObject\'s Capabilities in a given namespace. In "
 22 marek 1.1           "order to ensure uniqueness, the value of InstanceID MUST "
 23                     "be constructed using the form specified in JSR77.3.1.1.1 "
 24                     "in order to avoid the need for manual key propagation." ), 
 25                  MappingStrings { "JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0" }, 
 26                  ModelCorrespondence { "CIM_J2eeManagedObject.ElementName" }]
 27              string InstanceID;
 28           
 29                 [Override ( "ElementName" ), 
 30                  Description ( 
 31                     "The name of a J2EE managed object. The name MUST be "
 32                     "constructed using the form specified in JSR77.3.1.1.1 in "
 33                     "order to avoid the need for manual key propagation." ), 
 34                  MaxLen ( 256 ), 
 35                  MappingStrings { "JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0" }, 
 36                  ModelCorrespondence { "CIM_J2eeManagedObject.InstanceID" }]
 37              string ElementName;
 38           
 39                 [Override ( "OperationalStatus" ), 
 40                  Description ( 
 41                     "The current state of the entity for J2ee managed objects "
 42                     "that support state management. If the StateManageable "
 43 marek 1.1           "property is FALSE, the value of this property MUST be "
 44                     "set to 0 - Unknown. The mapping from the J2ee management "
 45                     "states to OperationalStatus is as follows - "
 46                     "j2ee.state.starting - Starting, j2ee.state.running - OK, "
 47                     "j2ee.state.stopping - Stopping, j2ee.state.stopped - "
 48                     "Stopped, and j2ee.state.failed - Error." ), 
 49                  ValueMap { "0", "2", "6", "8", "9", "10" }, 
 50                  Values { "Unknown", "OK", "Error", "Starting", "Stopping", 
 51                     "Stopped" }, 
 52                  MappingStrings { "JSR77.JCP|JSR77.5.1.1.1 state|V1.0" }, 
 53                  ModelCorrespondence { 
 54                     "CIM_J2eeManagedObjectCapabilities.StateManageable" }]
 55              uint16 OperationalStatus[];
 56           
 57                 [Description ( 
 58                     "The time that the J2EE managed object was started, "
 59                     "represented as a datetime interval measured as the time "
 60                     "interval since January 1, 1970, 00:00:00. If the "
 61                     "StateManageable property of the "
 62                     "CIM_J2eeManagedObjectCapabilities class is false, this "
 63                     "value MUST be set to a zero time interval." ), 
 64 marek 1.1        MappingStrings { "JSR77.JCP|JSR77.5.1.1.2 startTime|V1.0" }, 
 65                  ModelCorrespondence { 
 66                     "CIM_J2eeManagedObjectCapabilities.StateManageable" }]
 67              datetime StartTime = "00000000000000.000000:000";
 68           
 69           
 70                 [Description ( 
 71                     "Starts the J2EE managed object. This operation can only "
 72                     "be invoked in when State is Stopped. This method, causes "
 73                     "State to become Starting initially, and eventually "
 74                     "becomes the RUNNING state. Additionally, "
 75                     "StartRecursive() is called on all the child "
 76                     "StateManageable instances that are registered with this "
 77                     "entity and are in the Stopped state. The method returns "
 78                     "0 on success and non-zero for failure." ), 
 79                  MappingStrings { "JSR77.JCP|JSR77.5.1.2.2 startRecursive|V1.0" }]
 80              uint32 StartRecursive(
 81           );
 82           
 83                 [Description ( 
 84                     "This method starts the J2EE managed object. This "
 85 marek 1.1           "operation can only be invoked when the OperationalStatus "
 86                     "is Stopped. Note that StartService() will not be called "
 87                     "on any of the child StateManageable instances that are "
 88                     "registered with this instance. It is the responsibility "
 89                     "of the calling application to start the child if "
 90                     "required. The method returns 0 on success and non-zero "
 91                     "for failure." ), 
 92                  MappingStrings { "JSR77.JCP|JSR77.5.1.2.1 start|V1.0" }]
 93              uint32 Start(
 94           );
 95           
 96                 [Description ( 
 97                     "This method stops the J2EE managed object and all "
 98                     "dependent objects that can be identified by following "
 99                     "the Dependency/Component associations this object\'s "
100                     "identity participates in." ), 
101                  MappingStrings { "JSR77.JCP|JSR77.5.1.2.3 stop|V1.0" }]
102              uint32 Stop(
103           );
104           
105           };

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2