Class CIM_J2eeManagedObject
extends CIM_EnabledLogicalElement

CIM_J2eeManagedObject is a class for defining operations that may supported by all J2EE managed objects. It contains the attributes and methods that are common to all J2EE managed objects. The J2EE Managed objects - for eg. J2eeServer should participate in instances of the CIM_LogicalIdentity association with the corresponding instance of the J2eeManagedObject class. The start and stop methods of JSR77's J2eeManagedObject find an equivalent in the RequestStateChange method inherited from EnabledLogicalElement. Using Enabled/Disabled as inputs to RequestStateChange, one can effect start and stop.

Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods


Class Hierarchy

CIM_ManagedElement
   |
   +--CIM_ManagedSystemElement
   |
   +--CIM_LogicalElement
   |
   +--CIM_EnabledLogicalElement
   |
   +--CIM_J2eeManagedObject

Direct Known Subclasses

Class Qualifiers

NameData TypeValue
Abstractbooleantrue
DescriptionstringCIM_J2eeManagedObject is a class for defining operations that may supported by all J2EE managed objects. It contains the attributes and methods that are common to all J2EE managed objects. The J2EE Managed objects - for eg. J2eeServer should participate in instances of the CIM_LogicalIdentity association with the corresponding instance of the J2eeManagedObject class. The start and stop methods of JSR77's J2eeManagedObject find an equivalent in the RequestStateChange method inherited from EnabledLogicalElement. Using Enabled/Disabled as inputs to RequestStateChange, one can effect start and stop.
UMLPackagePathstringCIM::Application::J2eeAppServer
Versionstring2.19.0

Class Properties

Local Class Properties

NameData TypeDefault ValueQualifiers
NameData TypeValue
ElementNamestring
DescriptionstringThe name of a J2EE managed object. The name MUST be constructed using the form specified in JSR77.3.1.1.1 in order to avoid the need for manual key propagation.
MappingStringsstringJSR77.JCP|JSR77.3.1.1.1 objectName|V1.0
MaxLenuint32256
ModelCorrespondencestringCIM_J2eeManagedObject.InstanceID
OverridestringElementName
InstanceIDstring
DescriptionstringInstanceID identifies a unique instance of a J2EE ManagedObject's Capabilities in a given namespace. In order to ensure uniqueness, the value of InstanceID MUST be constructed using the form specified in JSR77.3.1.1.1 in order to avoid the need for manual key propagation.
Keybooleantrue
MappingStringsstringJSR77.JCP|JSR77.3.1.1.1 objectName|V1.0
ModelCorrespondencestringCIM_J2eeManagedObject.ElementName
OverridestringInstanceID
StartTimedatetime00000000000000.000000:000
DescriptionstringThe time that the J2EE managed object was started, represented as a datetime interval measured as the time interval since January 1, 1970, 00:00:00. If the StateManageable property of the CIM_J2eeManagedObjectCapabilities class is false, this value MUST be set to a zero time interval.
MappingStringsstringJSR77.JCP|JSR77.5.1.1.2 startTime|V1.0
ModelCorrespondencestringCIM_J2eeManagedObjectCapabilities.StateManageable
OperationalStatusuint16[]
ArrayTypestringIndexed
DescriptionstringThe current state of the entity for J2ee managed objects that support state management. If the StateManageable property is FALSE, the value of this property MUST be set to 0 - Unknown. The mapping from the J2ee management states to OperationalStatus is as follows - j2ee.state.starting - Starting, j2ee.state.running - OK, j2ee.state.stopping - Stopping, j2ee.state.stopped - Stopped, and j2ee.state.failed - Error.
MappingStringsstringJSR77.JCP|JSR77.5.1.1.1 state|V1.0
ModelCorrespondencestringCIM_J2eeManagedObjectCapabilities.StateManageable
OverridestringOperationalStatus
ValueMapstring0, 2, 6, 8, 9, 10
ValuesstringUnknown, OK, Error, Starting, Stopping, Stopped

Inherited Properties

NameData TypeClass Origin
CaptionstringCIM_ManagedElement
CommunicationStatusuint16CIM_ManagedSystemElement
DescriptionstringCIM_ManagedElement
DetailedStatusuint16CIM_ManagedSystemElement
EnabledDefaultuint16CIM_EnabledLogicalElement
EnabledStateuint16CIM_EnabledLogicalElement
HealthStateuint16CIM_ManagedSystemElement
InstallDatedatetimeCIM_ManagedSystemElement
NamestringCIM_ManagedSystemElement
OperatingStatusuint16CIM_ManagedSystemElement
OtherEnabledStatestringCIM_EnabledLogicalElement
PrimaryStatusuint16CIM_ManagedSystemElement
RequestedStateuint16CIM_EnabledLogicalElement
StatusstringCIM_ManagedSystemElement
TimeOfLastStateChangedatetimeCIM_EnabledLogicalElement
TransitioningToStateuint16CIM_EnabledLogicalElement
AvailableRequestedStatesuint16[]CIM_EnabledLogicalElement
StatusDescriptionsstring[]CIM_ManagedSystemElement

Class Methods

Local Class Methods

StartRecursive (uint32)

Method Qualifiers (StartRecursive)

NameData TypeValue
DescriptionstringStarts the J2EE managed object. This operation can only be invoked in when State is Stopped. This method, causes State to become Starting initially, and eventually becomes the RUNNING state. Additionally, StartRecursive() is called on all the child StateManageable instances that are registered with this entity and are in the Stopped state. The method returns 0 on success and non-zero for failure.
MappingStringsstringJSR77.JCP|JSR77.5.1.2.2 startRecursive|V1.0

Method Parameters (StartRecursive)

NameTypeQualifiers
NameData TypeValue

Start (uint32)

Method Qualifiers (Start)

NameData TypeValue
DescriptionstringThis method starts the J2EE managed object. This operation can only be invoked when the OperationalStatus is Stopped. Note that StartService() will not be called on any of the child StateManageable instances that are registered with this instance. It is the responsibility of the calling application to start the child if required. The method returns 0 on success and non-zero for failure.
MappingStringsstringJSR77.JCP|JSR77.5.1.2.1 start|V1.0

Method Parameters (Start)

NameTypeQualifiers
NameData TypeValue

Stop (uint32)

Method Qualifiers (Stop)

NameData TypeValue
DescriptionstringThis method stops the J2EE managed object and all dependent objects that can be identified by following the Dependency/Component associations this object's identity participates in.
MappingStringsstringJSR77.JCP|JSR77.5.1.2.3 stop|V1.0

Method Parameters (Stop)

NameTypeQualifiers
NameData TypeValue

Inherited Class Methods

NameReturn TypeClass Origin
RequestStateChangeuint32CIM_EnabledLogicalElement