setTheDefaultActiveClass

The setTheDefaultActiveClass method registers an alternate default active object instead of the OMMainThread singleton. This is useful when you customize the behavior of application active classes.

To have an effect, the user factory must be registered before the framework initialization (OXF::init) and before any request of the default active class is made.

Visibility
Public
Signature
static OMBoolean setTheDefaultActiveClass (OMThread* t);
Parameters
t

Specifies the new default active class

Returns

The method returns TRUE if the active object was set successfully. Otherwise, it returns FALSE.


Feedback