@ Override public void taskStarting ( ) { final boolean trace = TraceComponent . isAnyTracingEnabled ( ) ; prevInvocationSubject = subjectManager . getInvocationSubject ( ) ; prevCallerSubject = subjectManager . getCallerSubject ( ) ; if ( trace && tc . isEntryEnabled ( ) ) Tr . entry ( this , tc , "taskStarting" , "previous caller/invocation subjects" , prevCallerSubject , prevInvocationSubject ) ; subjectManager . setInvocationSubject ( invocationSubject ) ; subjectManager . setCallerSubject ( callerSubject ) ; if ( trace && tc . isEntryEnabled ( ) ) Tr . exit ( this , tc , "taskStarting" , new Object [ ] { "new caller/invocation subjects" , callerSubject , invocationSubject } ) ; }
Push the subjects associated with this security context onto the thread .