Qore oracle Module ..
Loading...
Searching...
No Matches
OracleExtensions::OracleInstrumentationBase Class Reference

A base class for Automatic Application Info related classes. Not intended to be used directly. More...

#include <OracleExtensions.qm.dox.h>

Inheritance diagram for OracleExtensions::OracleInstrumentationBase:
OracleExtensions::OracleDatasourceBase OracleExtensions::OracleSQLStatement OracleExtensions::OracleDatasource OracleExtensions::OracleDatasourcePool

Public Member Methods

void constructor (soft< code > userAutoInfo)
 Internally used datasource/pool.
 
abstract void setAppInfoCallback (soft< string > oraaction, soft< string > oraclient, soft< string > oramodule)
 A method automatically called from setAppInfo() to allow custom implementations.
 
abstract bool currentThreadInTransaction ()
 A backend provided currentThreadInTransaction() for wrappeed or inheritted Datasource/Pool.
 
void setAppInfo (soft< OracleExtensions::OracleApplicationInfo > audit, bool fromSystem)
 A backend provided currentThreadInTransaction() for wrappeed or inheritted Datasource/Pool.
 
void setAppInfo (soft< string > action, bool fromSystem, soft< string > client, soft< string > module)
 An overloaded method with the same functionality as the OracleExtensions::OracleApplicationInfo variant.
 

Private Attributes

soft< OracleExtensions::OracleApplicationInfouserInfo
 potential user Application Info set by beginTransaction or explicit call of setAppInfo
 
soft< code > autoCode
 user code used in setAutomaticDBInfo when there is no OracleApplicationInfo value provided
 
object m_ds
 Internally used datasource/pool.
 

Detailed Description

A base class for Automatic Application Info related classes. Not intended to be used directly.

Member Function Documentation

◆ setAppInfoCallback()

abstract void OracleExtensions::OracleInstrumentationBase::setAppInfoCallback ( soft< string >  oraaction,
soft< string >  oraclient,
soft< string >  oramodule 
)

A method automatically called from setAppInfo() to allow custom implementations.

setAppInfoCallback() should be reimplemented in any of inherited class to allow set app info without m_ds or similar workarounds. Custom implementation can use advantages of direct Datasource/Pool inheritance.


The documentation for this class was generated from the following file: