project BLF > class Startup > method StartDefaultComponents

Description

Start components.
These components are started at the startup of any appserver process. By starting the business components, the system will automatically cache them for the appserver process.


Parameters


oiReturnStatusoutputintegerReturn status of the method.


Internal usage


BLF
method Startup.MainBlock


program code (program1/startup.p)

/* Cache session component */                      
<I-7 {tFcStartInstance
            &CLASS           = "Session"
            &SESSIONID       = "0"}>
<I-8 {tFcStopInstance
            &CLASS           = "Session"
            &SESSIONID       = "0"}>
                      
/* Cache transaction component */
<I-11 {tFcStartInstance
            &CLASS           = "Transaction"
            &SESSIONID       = "0"}>
<I-12 {tFcStopInstance
            &CLASS           = "Transaction"
            &SESSIONID       = "0"}>