public static ControlContainerContext getContext ( ) { Stack < ControlContainerContext > contextStack = _threadContexts . get ( ) ; if ( contextStack == null || contextStack . size ( ) == 0 ) return null ; return contextStack . peek ( ) ; }
Returns the active ControlContainerContext for the current thread or null if no context is currently active .