When an application calls getConnection() interface (defined in VISSessionManager.idl), it must supply a configure profile name for the session manager connection manager to load the right module and make the connections. So before starting your application, the corresponding configure profiles must be created.
After starting the smconfigsetup tool, it will give you a list of options that you can use to manage your profiles. Select option 7 to create a configure profile for the pluggable modules. Then you can follow the prompt to give all your information defined in the above table in order. The tool will save the profile in the specified location for session manager.
The return value is a pointer to an object of type ITSDataConnection which contains the connection related interfaces that a pluggable module should implement.
In any plug-in session manager, the VISSessionManager::Connnection::isSupported() API will have static return values. In the case of DC connection,
isSupported(“hold”) will return true and
isSupported("thread_portable") will return true. In the case of XA connection,
isSupported("hold") will return false and
isSupported("thread_portable") will return false.
In any plug-in session manager, the VISSessionManager::Connection::getInfo("version_rm") will now return NULL. As the information is not applicable in the case of a plug-in session manager.