Module1
Srv
controls start-up and shut-down procedures for a specific application server and any associated Resource Manager linked with the server.
BEATuxBldr · Server · Module1
Srv (Generated Server)
A specific instance of the Generated Server class is generated by the C++ Expert for each module in the Contract Repository. Normally, a factory method (virtual constructor) would be used to create an object of this class, but the C++ Expert specifies the class name, allowing instantiating from the generated code without requiring the implementation of an abstract factory method. In addition to simplifying implementation, this approach allows you to independently extend the interface and modify the default implementation.
The member functions of this class are used to control server start-up and shut-down procedures and the Resource Manager connection and disconnection procedures. The default implementation provided in BEATuxBldr::Server
can be independently extended in Module1
Srv
.
Module1
Srv
is instantiated by the server in the tpsvrinit
function called at server start-up. The server main function is provided by the BEA TUXEDO server main. This class is generated by the C++ Expert as a singleton class.
This section lists the member functions of the Generated Server class.
Name | Documented |
---|---|
close_xa_rm | |
Instance |
|
initialize | |
open_xa_rm | |
release |
This is used by the generated code to create a single instance of
Instance
Instance
returns a pointer to the single instance of Module1
Srv
in the Module1
BEA TUXEDO server.
Synopsis
static
Module1
Srv
* instance()
Description
Module1
Srv
.