# 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

Name | Data Type | Value
--- | --- | ---
Abstract | boolean | true
Description | string | 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.
UMLPackagePath | string | CIM::Application::J2eeAppServer
Version | string | 2.19.0

## Class Properties

### Local Class Properties

Name | Data Type | Default Value | Qualifiers
--- | --- | --- | ---
Name | Data Type | Value
ElementName | string |
Description | string | The 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.
MappingStrings | string | JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0
MaxLen | uint32 | 256
ModelCorrespondence | string | CIM_J2eeManagedObject.InstanceID
Override | string | ElementName
InstanceID | string |
Description | string | InstanceID 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.
Key | boolean | true
MappingStrings | string | JSR77.JCP|JSR77.3.1.1.1 objectName|V1.0
ModelCorrespondence | string | CIM_J2eeManagedObject.ElementName
Override | string | InstanceID
StartTime | datetime | 00000000000000.000000:000
Description | string | The 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.
MappingStrings | string | JSR77.JCP|JSR77.5.1.1.2 startTime|V1.0
ModelCorrespondence | string | CIM_J2eeManagedObjectCapabilities.StateManageable
OperationalStatus | uint16[] |
ArrayType | string | Indexed
Description | string | The 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.
MappingStrings | string | JSR77.JCP|JSR77.5.1.1.1 state|V1.0
ModelCorrespondence | string | CIM_J2eeManagedObjectCapabilities.StateManageable
Override | string | OperationalStatus
ValueMap | string | 0, 2, 6, 8, 9, 10
Values | string | Unknown, OK, Error, Starting, Stopping, Stopped

### Inherited Properties

Name | Data Type | Class Origin
--- | --- | ---
Caption | string | CIM_ManagedElement
CommunicationStatus | uint16 | CIM_ManagedSystemElement
Description | string | CIM_ManagedElement
DetailedStatus | uint16 | CIM_ManagedSystemElement
EnabledDefault | uint16 | CIM_EnabledLogicalElement
EnabledState | uint16 | CIM_EnabledLogicalElement
HealthState | uint16 | CIM_ManagedSystemElement
InstallDate | datetime | CIM_ManagedSystemElement
Name | string | CIM_ManagedSystemElement
OperatingStatus | uint16 | CIM_ManagedSystemElement
OtherEnabledState | string | CIM_EnabledLogicalElement
PrimaryStatus | uint16 | CIM_ManagedSystemElement
RequestedState | uint16 | CIM_EnabledLogicalElement
Status | string | CIM_ManagedSystemElement
TimeOfLastStateChange | datetime | CIM_EnabledLogicalElement
TransitioningToState | uint16 | CIM_EnabledLogicalElement
AvailableRequestedStates | uint16[] | CIM_EnabledLogicalElement
StatusDescriptions | string[] | CIM_ManagedSystemElement

## Class Methods

### Local Class Methods

#### StartRecursive (uint32)

#### Method Qualifiers (StartRecursive)

Name | Data Type | Value
--- | --- | ---
Description | string | Starts 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.
MappingStrings | string | JSR77.JCP|JSR77.5.1.2.2 startRecursive|V1.0

#### Method Parameters (StartRecursive)

Name | Type | Qualifiers
--- | --- | ---
Name | Data Type | Value

#### Start (uint32)

#### Method Qualifiers (Start)

Name | Data Type | Value
--- | --- | ---
Description | string | This 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.
MappingStrings | string | JSR77.JCP|JSR77.5.1.2.1 start|V1.0

#### Method Parameters (Start)

Name | Type | Qualifiers
--- | --- | ---
Name | Data Type | Value

#### Stop (uint32)

#### Method Qualifiers (Stop)

Name | Data Type | Value
--- | --- | ---
Description | string | This 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.
MappingStrings | string | JSR77.JCP|JSR77.5.1.2.3 stop|V1.0

#### Method Parameters (Stop)

Name | Type | Qualifiers
--- | --- | ---
Name | Data Type | Value

### Inherited Class Methods

Name | Return Type | Class Origin
--- | --- | ---
RequestStateChange | uint32 | CIM_EnabledLogicalElement