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 CL_BS_CONTEXT_STORE_FACTORY 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 GC_CONTEXT_CLASS Constant Public See coding 20110226
2 GC_GLOBAL_CONTEXT_NAME Constant Public Type reference (TYPE) STRING 'GLOBAL_CONTEXT' Name of Global Context 20110227
3 GO_LOG Static Attribute Public Object reference (TYPE REF TO) IF_BS_LOG Access To Log 20110227
4 MESSAGE_DUMMY 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 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20110228
2 GET_CONTEXT Static method Public Method gets a singleton instance for a simple Context 20110227
3 GET_CUSTOM_CONTEXT Static method Public Method gets a singleton instance for a Context 20110227
4 GET_GLOBAL_CONTEXT Static method Public Method gets a singleton instance for the Global Context 20110226
5 GET_HISTORICAL_CONTEXT Static method Public Method gets a singleton instance for a historical Context 20110227
6 GET_SHM_CONTEXT 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 Importing IV_NAME Call by reference Type reference (TYPE) STRING name of the context 20110227
2 Returning RO_CONTEXT Value transfer Object reference (TYPE REF TO) IF_BS_CONTEXT Access To Context 20110227
# Exception Resumable Description Created on
1 CX_BS_CT_CORE 20110328

Method GET_CUSTOM_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CONTEXT_CLASS_NAME Call by reference Type reference (TYPE) SEOCLNAME 'CL_BS_CONTEXT' Class Name 20110227
2 Importing IV_CONTEXT_NAME Call by reference Type reference (TYPE) STRING name of the context 20110227
3 Importing 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 Returning RO_CONTEXT Value transfer Object reference (TYPE REF TO) IF_BS_CONTEXT Access To Context 20110227
# Exception Resumable Description Created on
1 CX_BS_CT_CORE 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 Returning RO_CONTEXT Value transfer Object reference (TYPE REF TO) IF_BS_CONTEXT_GLOBAL Access To Global Context 20110226
# Exception Resumable Description Created on
1 CX_BS_CT_CORE 20110328

Method GET_HISTORICAL_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NAME Call by reference Type reference (TYPE) STRING name of the context 20110227
2 Returning RO_CONTEXT Value transfer Object reference (TYPE REF TO) IF_BS_CONTEXT_HISTORICAL Access To Historical Context 20110227
# Exception Resumable Description Created on
1 CX_BS_CT_CORE 20110328

Method GET_SHM_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CONTEXT_NAME Call by reference Type reference (TYPE) STRING name of the context 20120626
2 Returning RO_CONTEXT Value transfer Object reference (TYPE REF TO) IF_BS_CONTEXT Access To Context 20120626
# Exception Resumable Description Created on
1 CX_BS_CT_CORE 20120626
History
Last changed by/on SAP  20130531 
SAP Release Created in 731