public static ELResolver makeResolverForFaces ( ) { Map < String , ImplicitObject > forFacesList = new HashMap < String , ImplicitObject > ( 30 ) ; //14 ImplicitObject io1 = new ApplicationImplicitObject ( ) ; forFacesList . put ( io1 . getName ( ) , io1 ) ; ImplicitObject io2 = new ApplicationScopeImplicitObject ( ) ; forFacesList . put ( io2 . getName ( ) , io2 ) ; ImplicitObject io3 = new CookieImplicitObject ( ) ; forFacesList . put ( io3 . getName ( ) , io3 ) ; ImplicitObject io4 = new FacesContextImplicitObject ( ) ; forFacesList . put ( io4 . getName ( ) , io4 ) ; ImplicitObject io5 = new HeaderImplicitObject ( ) ; forFacesList . put ( io5 . getName ( ) , io5 ) ; ImplicitObject io6 = new HeaderValuesImplicitObject ( ) ; forFacesList . put ( io6 . getName ( ) , io6 ) ; ImplicitObject io7 = new InitParamImplicitObject ( ) ; forFacesList . put ( io7 . getName ( ) , io7 ) ; ImplicitObject io8 = new ParamImplicitObject ( ) ; forFacesList . put ( io8 . getName ( ) , io8 ) ; ImplicitObject io9 = new ParamValuesImplicitObject ( ) ; forFacesList . put ( io9 . getName ( ) , io9 ) ; ImplicitObject io10 = new RequestImplicitObject ( ) ; forFacesList . put ( io10 . getName ( ) , io10 ) ; ImplicitObject io11 = new RequestScopeImplicitObject ( ) ; forFacesList . put ( io11 . getName ( ) , io11 ) ; ImplicitObject io12 = new SessionImplicitObject ( ) ; forFacesList . put ( io12 . getName ( ) , io12 ) ; ImplicitObject io13 = new SessionScopeImplicitObject ( ) ; forFacesList . put ( io13 . getName ( ) , io13 ) ; ImplicitObject io14 = new ViewImplicitObject ( ) ; forFacesList . put ( io14 . getName ( ) , io14 ) ; ImplicitObject io15 = new ComponentImplicitObject ( ) ; forFacesList . put ( io15 . getName ( ) , io15 ) ; ImplicitObject io16 = new ResourceImplicitObject ( ) ; forFacesList . put ( io16 . getName ( ) , io16 ) ; ImplicitObject io17 = new ViewScopeImplicitObject ( ) ; forFacesList . put ( io17 . getName ( ) , io17 ) ; ImplicitObject io18 = new CompositeComponentImplicitObject ( ) ; forFacesList . put ( io18 . getName ( ) , io18 ) ; ImplicitObject io19 = new FlowScopeImplicitObject ( ) ; forFacesList . put ( io19 . getName ( ) , io19 ) ; return new ImplicitObjectResolver ( forFacesList ) ; }
Static factory for an ELResolver for resolving implicit objects in all of Faces . See JSF 1 . 2 spec section 5 . 6 . 1 . 2