public Object getContext ( Class < ? > key ) { if ( key == null ) { throw new NullPointerException ( "key is null" ) ; } if ( context == null ) { return null ; } return context . get ( key ) ; }
Returns the context object associated with the given key . The ELContext maintains a collection of context objects relevant to the evaluation of an expression . These context objects are used by ELResolvers . This method is used to retrieve the context with the given key from the collection . By convention the object returned will be of the type specified by the key . However this is not required and the key is used strictly as a unique identifier .