@ SuppressWarnings ( "unchecked" ) public static < T > T getContextData ( String name ) { EventImpl event = ( EventImpl ) CurrentEvent . get ( ) ; if ( null != event ) { return ( T ) event . getContextData ( name ) ; } return null ; }
Query possible EventLocal context data for the current Event runtime based on the provided name value . If an EventLocal was created under the target name then the currently running Event runtime would return its value .