SAP ABAP Class CL_BADI_CACHE_HANDLER (Manages References of BAdIs)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SFW_BADI (Package) New Switchable BAdIs
⤷
⤷
Properties
| Class | CL_BADI_CACHE_HANDLER | |
| Short Description | Manages References of BAdIs | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SFW_BADI | New Switchable BAdIs |
| Created | 20041022 | SAP |
| Last change | 20090618 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_BADI_CACHE_HANDLER has no forward declaration.
Interfaces
Class CL_BADI_CACHE_HANDLER has no interface implemented.
Friends
Class CL_BADI_CACHE_HANDLER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_BADI_CACHE_HANDLER | Manages References of BAdIs | 20050218 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_BADI_CONTEXT | Interface, a BAdI Context has to Implement | 20041022 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add an Implementation Instance | 20041022 | |
| 2 | Instance method | Public | Constructor | 20041022 | ||
| 3 | Instance method | Public | Method | Retrieves Implementation Instance Coupled to a Reference | 20041022 | |
| 4 | Static method | Public | Method | Static Factory | 20041022 |
Events
Class CL_BADI_CACHE_HANDLER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | IMPL_INST_ENTRY | Private | See coding | 20041022 | begin of impl_inst_entry,
class_name type classname,
ctx type ref to if_badi_context,
instance_ref type ref to cl_abap_weak_reference,
end of impl_inst_entry
|
||
| 2 | IMPL_INST_TABLE | Private | See coding | 20041022 | IMPL_INST_TABLE type hashed table of impl_inst_entry with unique key class_name ctx
|
Method Signatures
Method ADD_IMPLEMENTATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLASS_NAME | Call by reference | Type reference (TYPE) | CLASSNAME | Name einer BAdI-Implementierung | 20041022 | |||
| 2 | CTX | Call by reference | Object reference (TYPE REF TO) | IF_BADI_CONTEXT | Interface, BAdIs contextes have to implement | 20041022 | |||
| 3 | INSTANCE | Call by reference | Object reference (TYPE REF TO) | OBJECT | 20041022 |
Method ADD_IMPLEMENTATION on class CL_BADI_CACHE_HANDLER has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_BADI_CACHE_HANDLER has no parameter.
Method CONSTRUCTOR on class CL_BADI_CACHE_HANDLER has no exception.
Method GET_IMPLEMENTATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLASS_NAME | Call by reference | Type reference (TYPE) | CLASSNAME | Name einer BAdI-Implementierung | 20041022 | |||
| 2 | CTX | Call by reference | Object reference (TYPE REF TO) | IF_BADI_CONTEXT | Interface, BAdIs contextes have to implement | 20041022 | |||
| 3 | INSTANCE | Value transfer | Object reference (TYPE REF TO) | OBJECT | 20041022 |
Method GET_IMPLEMENTATION on class CL_BADI_CACHE_HANDLER has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BADI_TYPE | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_OBJECTDESCR | Run Time Type Services | 20050219 | |||
| 2 | LINE_TYPE | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | LINE_TYPE | 20050219 | |||
| 3 | PHANDLER | Value transfer | Object reference (TYPE REF TO) | CL_BADI_CACHE_HANDLER | Manages references of BAdIs | 20050218 | |||
| 4 | TABLE_TYPE | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | TABLE_TYPE | 20050219 |
Method GET_INSTANCE on class CL_BADI_CACHE_HANDLER has no exception.
History
| Last changed by/on | SAP | 20090618 |
| SAP Release Created in | 700 |