SAP ABAP Class CL_GENIL_MODEL_SHM_AREA_OBSERV (Observer for CL_CRM_GENIL_MODEL_SHM_AREA)
Hierarchy
☛
WEBCUIF (Software Component) SAP Web UI Framework
⤷
CA-WUI-GOL-GIL (Application Component) Generic Interaction Layer
⤷
CRM_GENIL_TOOLS (Package) General Program Tools in Generic Interaction Layer Environmt
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_SHM_AREA | Shared Memory: General Area Handle | 20090522 |
Properties
| Class | CL_GENIL_MODEL_SHM_AREA_OBSERV | |
| Short Description | Observer for CL_CRM_GENIL_MODEL_SHM_AREA | |
| Super Class | CL_SHM_AREA | Shared Memory: General Area Handle |
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 45 | Area Class (Shared Objects) |
| Package | CRM_GENIL_TOOLS | General Program Tools in Generic Interaction Layer Environmt |
| Created | 20090522 | SAP |
| Last change | 20100303 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_GENIL_MODEL_SHM_AREA_OBSERV has no forward declaration.
Interfaces
Class CL_GENIL_MODEL_SHM_AREA_OBSERV has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_SHM_AREA | 20090522 | Shared Memory: General Area Handle |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | SHM_AREA_NAME | 'CL_GENIL_MODEL_SHM_AREA_OBSERV' | Name of an Area Class | 20090522 | ||
| 2 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_GENIL_MODEL_SHM_OBSERV_ROOT | SHM: Model of a Data Class | 20090522 | |||
| 3 | Constant | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20090522 | |||
| 4 | Constant | Private | Type reference (TYPE) | SHM_LIFE_CONTEXT | CL_SHM_AREA=>LIFE_CONTEXT_APPSERVER | Lifetime of an Area (Constants in CL_SHM_AREA) | 20090522 | ||
| 5 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | (Internal) Flag: Trace Active? | 20090522 | ||
| 6 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_SHM_TRACE | (Internal) Reference to Trace Class | 20090522 | |||
| 7 | Constant | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090522 | |||
| 8 | Constant | Private | Type reference (TYPE) | I | 19 | (internal) | 20090522 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Request a Read Lock | 20090522 | |
| 2 | Static method | Public | Method | Request a Change Lock | 20090522 | |
| 3 | Static method | Public | Method | Request a Write Lock | 20090522 | |
| 4 | Static method | Public | Method | Direct Call of Area Constructor | 20090522 | |
| 5 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20090522 | |
| 6 | Static method | Public | Method | Release all locks on all instances | 20090522 | |
| 7 | Static method | Public | Method | Delete all instances | 20090522 | |
| 8 | Static method | Public | Method | Deletion of an Instance | 20090522 | |
| 9 | Static method | Public | Method | Query Generator Version | 20090522 | |
| 10 | Static method | Public | Method | Returns the names of all instances | 20090522 | |
| 11 | Static method | Public | Method | Active versions of all instances will be set to obsolete | 20090522 | |
| 12 | Static method | Public | Method | Active version of one instance will be set to obsolete | 20090522 | |
| 13 | Instance method | Public | Method | Sets Root Objects | 20090522 |
Events
Class CL_GENIL_MODEL_SHM_AREA_OBSERV has no event.
Types
Class CL_GENIL_MODEL_SHM_AREA_OBSERV has no local type.
Method Signatures
Method ATTACH_FOR_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HANDLE | Value transfer | Object reference (TYPE REF TO) | CL_GENIL_MODEL_SHM_AREA_OBSERV | SHM: Model of an Area Class | 20090522 | |||
| 2 | INST_NAME | Call by reference | Type reference (TYPE) | SHM_INST_NAME | CL_SHM_AREA=>DEFAULT_INSTANCE | Name of a Shared Object Instance of an Area | 20090522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | A Change Lock Is Already Active | 20090522 | ||
| 2 | Instance Already Locked | 20090522 | ||
| 3 | Different Definitions Between Program and Area | 20090522 | ||
| 4 | No active version exists for an attach | 20090522 | ||
| 5 | Incorrect parameter transferred | 20090522 | ||
| 6 | Request for a Second Read Lock | 20090522 |
Method ATTACH_FOR_UPDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTACH_MODE | Call by reference | Type reference (TYPE) | SHM_ATTACH_MODE | CL_SHM_AREA=>ATTACH_MODE_DEFAULT | Mode of ATTACH (Constants in CL_SHM_AREA) | 20090522 | ||
| 2 | HANDLE | Value transfer | Object reference (TYPE REF TO) | CL_GENIL_MODEL_SHM_AREA_OBSERV | SHM: Model of an Area Class | 20090522 | |||
| 3 | INST_NAME | Call by reference | Type reference (TYPE) | SHM_INST_NAME | CL_SHM_AREA=>DEFAULT_INSTANCE | Name of a Shared Object Instance of an Area | 20090522 | ||
| 4 | WAIT_TIME | Call by reference | Type reference (TYPE) | I | 0 | Maximum Wait Time (in Milliseconds) | 20090522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | A write lock is already active | 20090522 | ||
| 2 | Instance Already Locked | 20090522 | ||
| 3 | Different Definitions Between Program and Area | 20090522 | ||
| 4 | No active version exists for an attach | 20090522 | ||
| 5 | Passed Parameter Has Incorrect Value | 20090522 | ||
| 6 | Shared Objects: Waiting Lock Was Deleted | 20090522 | ||
| 7 | No Additional Versions Available | 20090522 |
Method ATTACH_FOR_WRITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTACH_MODE | Call by reference | Type reference (TYPE) | SHM_ATTACH_MODE | CL_SHM_AREA=>ATTACH_MODE_DEFAULT | Mode of ATTACH (Constants in CL_SHM_AREA) | 20090522 | ||
| 2 | HANDLE | Value transfer | Object reference (TYPE REF TO) | CL_GENIL_MODEL_SHM_AREA_OBSERV | SHM: Model of an Area Class | 20090522 | |||
| 3 | INST_NAME | Call by reference | Type reference (TYPE) | SHM_INST_NAME | CL_SHM_AREA=>DEFAULT_INSTANCE | Name of a Shared Object Instance of an Area | 20090522 | ||
| 4 | WAIT_TIME | Call by reference | Type reference (TYPE) | I | 0 | Maximum Wait Time (in Milliseconds) | 20090522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | A write lock is already active | 20090522 | ||
| 2 | Instance Already Locked | 20090522 | ||
| 3 | Passed Parameter Has Incorrect Value | 20090522 | ||
| 4 | Shared Objects: Waiting Lock Was Deleted | 20090522 | ||
| 5 | No Additional Versions Available | 20090522 |
Method BUILD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INST_NAME | Call by reference | Type reference (TYPE) | SHM_INST_NAME | CL_SHM_AREA=>DEFAULT_INSTANCE | Name of a Shared Object Instance of an Area | 20090522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SHM Administration: Inconsistent Attribute Combination | 20090522 | ||
| 2 | SHM Administration: Area Property Is Not Configured | 20090522 | ||
| 3 | Constructor Run Failed | 20090522 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_GENIL_MODEL_SHM_AREA_OBSERV has no parameter.
Method CLASS_CONSTRUCTOR on class CL_GENIL_MODEL_SHM_AREA_OBSERV has no exception.
Method DETACH_AREA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | SHM_CLIENT | 20090522 | ||||
| 2 | RC | Value transfer | Type reference (TYPE) | SHM_RC | Detach Return Value (Constants in CL_SHM_AREA) | 20090522 |
Method DETACH_AREA on class CL_GENIL_MODEL_SHM_AREA_OBSERV has no exception.
Method FREE_AREA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | SHM_CLIENT | 20090522 | ||||
| 2 | RC | Value transfer | Type reference (TYPE) | SHM_RC | Return Value (Constants in CL_SHM_AREA) | 20090522 | |||
| 3 | TERMINATE_CHANGER | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Writing processes will be ended | 20090522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Incorrect parameter transferred | 20090522 |
Method FREE_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | SHM_CLIENT | 20090522 | ||||
| 2 | INST_NAME | Call by reference | Type reference (TYPE) | SHM_INST_NAME | CL_SHM_AREA=>DEFAULT_INSTANCE | Name of a Shared Object Instance of an Area | 20090522 | ||
| 3 | RC | Value transfer | Type reference (TYPE) | SHM_RC | Return Value (Constants in CL_SHM_AREA) | 20090522 | |||
| 4 | TERMINATE_CHANGER | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Writing processes will be ended | 20090522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Incorrect parameter transferred | 20090522 |
Method GET_GENERATOR_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | GENERATOR_VERSION | Value transfer | Type reference (TYPE) | I | 20090522 |
Method GET_GENERATOR_VERSION on class CL_GENIL_MODEL_SHM_AREA_OBSERV has no exception.
Method GET_INSTANCE_INFOS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | SHM_CLIENT | 20090522 | ||||
| 2 | INFOS | Value transfer | Type reference (TYPE) | SHM_INST_INFOS | Overview of all Instances of an SHM Area | 20090522 |
Method GET_INSTANCE_INFOS on class CL_GENIL_MODEL_SHM_AREA_OBSERV has no exception.
Method INVALIDATE_AREA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | SHM_CLIENT | 20090522 | ||||
| 2 | RC | Value transfer | Type reference (TYPE) | SHM_RC | Detach Return Value (Constants in CL_SHM_AREA) | 20090522 | |||
| 3 | TERMINATE_CHANGER | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Active writing processes will be ended | 20090522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Incorrect parameter transferred | 20090522 |
Method INVALIDATE_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | SHM_CLIENT | 20090522 | ||||
| 2 | INST_NAME | Call by reference | Type reference (TYPE) | SHM_INST_NAME | CL_SHM_AREA=>DEFAULT_INSTANCE | Name of a Shared Object Instance of an Area | 20090522 | ||
| 3 | RC | Value transfer | Type reference (TYPE) | SHM_RC | Detach Return Value (Constants in CL_SHM_AREA) | 20090522 | |||
| 4 | TERMINATE_CHANGER | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Active writing processes will be ended | 20090522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Incorrect parameter transferred | 20090522 |
Method SET_ROOT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ROOT | Call by reference | Object reference (TYPE REF TO) | CL_GENIL_MODEL_SHM_OBSERV_ROOT | Root object | 20090522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Initial Reference Passed | 20090522 | ||
| 2 | Incorrect Handle | 20090522 |
History
| Last changed by/on | SAP | 20100303 |
| SAP Release Created in | 701 |