public static void endContext ( ControlContainerContext context ) { Stack < ControlContainerContext > contextStack = _threadContexts . get ( ) ; if ( contextStack == null || contextStack . size ( ) == 0 ) throw new IllegalStateException ( "No context started for current thread" ) ; if ( contextStack . peek ( ) != context ) throw new IllegalStateException ( "Context is not the current active context" ) ; contextStack . pop ( ) ; }
Ends the current control container execution context