SAP ABAP Class CL_BS_CONTEXT_FACTORY (Factory For Context Stores)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-MDG-APP-BP (Application Component) MDG Business Partner (Central Part)
⤷
BS_COMMON_OBJECTS (Package) Common Tools and Interfaces
⤷
⤷
Properties
| Class | CL_BS_CONTEXT_FACTORY | |
| Short Description | Factory For Context Stores | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | BS_COMMON_OBJECTS | Common Tools and Interfaces |
| Created | 20110226 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_BS_CONTEXT_FACTORY has no interface implemented.
Friends
Class CL_BS_CONTEXT_FACTORY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | 20110226 | |||||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'GLOBAL_CONTEXT' | Name of Global Context | 20110227 | ||
| 3 | Static Attribute | Public | Object reference (TYPE REF TO) | IF_BS_LOG | Access To Log | 20110227 | |||
| 4 | Static Attribute | Protected | Type reference (TYPE) | C | dummy for use with command MESSAGE INTO | 20110227 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20110228 | |
| 2 | Static method | Public | Method | gets a singleton instance for a simple Context | 20110227 | |
| 3 | Static method | Public | Method | gets a singleton instance for a Context | 20110227 | |
| 4 | Static method | Public | Method | gets a singleton instance for the Global Context | 20110226 | |
| 5 | Static method | Public | Method | gets a singleton instance for a historical Context | 20110227 | |
| 6 | Static method | Public | Method | gets a singleton instance for a SHM based Context | 20120626 |
Events
Class CL_BS_CONTEXT_FACTORY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_STORE | Public | See coding | 20110226 | BEGIN OF ty_store,
class_name TYPE seoclname,
instance TYPE REF TO cl_bs_context_store,
END OF ty_store
|
||
| 2 | TY_STORES | Public | See coding | 20110226 | ty_stores TYPE TABLE OF ty_store WITH KEY class_name
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_BS_CONTEXT_FACTORY has no parameter.
Method CLASS_CONSTRUCTOR on class CL_BS_CONTEXT_FACTORY has no exception.
Method GET_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | name of the context | 20110227 | |||
| 2 | RO_CONTEXT | Value transfer | Object reference (TYPE REF TO) | IF_BS_CONTEXT | Access To Context | 20110227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110328 |
Method GET_CUSTOM_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CONTEXT_CLASS_NAME | Call by reference | Type reference (TYPE) | SEOCLNAME | 'CL_BS_CONTEXT' | Class Name | 20110227 | ||
| 2 | IV_CONTEXT_NAME | Call by reference | Type reference (TYPE) | STRING | name of the context | 20110227 | |||
| 3 | IV_CONTEXT_STORE_CLASS_NAME | Call by reference | Type reference (TYPE) | SEOCLNAME | CL_BS_CONTEXT_STORE_FACTORY=>GC_STORE_CLASS-BASE | Class Name | 20110227 | ||
| 4 | RO_CONTEXT | Value transfer | Object reference (TYPE REF TO) | IF_BS_CONTEXT | Access To Context | 20110227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions For Contexts And Context Stores | 20110328 |
Method GET_GLOBAL_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_CONTEXT | Value transfer | Object reference (TYPE REF TO) | IF_BS_CONTEXT_GLOBAL | Access To Global Context | 20110226 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110328 |
Method GET_HISTORICAL_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | name of the context | 20110227 | |||
| 2 | RO_CONTEXT | Value transfer | Object reference (TYPE REF TO) | IF_BS_CONTEXT_HISTORICAL | Access To Historical Context | 20110227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110328 |
Method GET_SHM_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CONTEXT_NAME | Call by reference | Type reference (TYPE) | STRING | name of the context | 20120626 | |||
| 2 | RO_CONTEXT | Value transfer | Object reference (TYPE REF TO) | IF_BS_CONTEXT | Access To Context | 20120626 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120626 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 731 |