void execute ( final ActivityHandle handle , final int activityFlags , boolean suspendActivity ) throws SLEEException { final SleeTransaction tx = super . suspendTransaction ( ) ; ActivityContextHandle ach = null ; try { ach = sleeEndpoint . _startActivity ( handle , activityFlags , suspendActivity ? tx : null ) ; } finally { if ( tx != null ) { super . resumeTransaction ( tx ) ; // the activity was started out of the tx but it will be suspended, if the flags request the unreferenced callback then // we can load the ac now, which will schedule a check for references in the end of the tx, this ensures that the callback is received if no events are fired or // events are fired but not handled, that is, no reference is ever ever created if ( ach != null && ActivityFlags . hasRequestSleeActivityGCCallback ( activityFlags ) ) { acFactory . getActivityContext ( ach ) ; } } } }
Executes a non transacted start activity operation .