ApplicationImpl(RuntimeConfig runtimeConfig) { if (runtimeConfig == null) { throw new IllegalArgumentException("runtimeConfig must mot be null"); } // set default implementation in constructor // pragmatic approach, no syncronizing will be needed in get methods _viewHandler = new JspViewHandlerImpl(); _navigationHandler = new NavigationHandlerImpl(); _actionListener = new ActionListenerImpl(); _defaultRenderKitId = "HTML_BASIC"; _stateManager = new JspStateManagerImpl(); _elContextListeners = new ArrayList<ELContextListener>(); _runtimeConfig = runtimeConfig; if (log.isTraceEnabled()) log.trace("New Application instance created"); }
ApplicationImpl(final RuntimeConfig runtimeConfig) { if (runtimeConfig == null) { throw new IllegalArgumentException("runtimeConfig must mot be null"); } // set default implementation in constructor // pragmatic approach, no syncronizing will be needed in get methods _viewHandler = new ViewHandlerImpl(); _navigationHandler = new NavigationHandlerImpl(); _actionListener = new ActionListenerImpl(); _defaultRenderKitId = "HTML_BASIC"; _stateManager = new JspStateManagerImpl(); _elContextListeners = new ArrayList<ELContextListener>(); _resourceHandler = new ResourceHandlerImpl(); _runtimeConfig = runtimeConfig; if (log.isLoggable(Level.FINEST)) log.finest("New Application instance created"); }
ApplicationImpl(final RuntimeConfig runtimeConfig) { if (runtimeConfig == null) { throw new IllegalArgumentException("runtimeConfig must mot be null"); } // set default implementation in constructor // pragmatic approach, no syncronizing will be needed in get methods _viewHandler = new ViewHandlerImpl(); _navigationHandler = new NavigationHandlerImpl(); _actionListener = new ActionListenerImpl(); _defaultRenderKitId = "HTML_BASIC"; _stateManager = new StateManagerImpl(); _elContextListeners = new ArrayList<ELContextListener>(); _resourceHandler = new ResourceHandlerImpl(); _runtimeConfig = runtimeConfig; if (log.isLoggable(Level.FINEST)) log.finest("New Application instance created"); String configParam = getFaceContext().getExternalContext().getInitParameter(DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME); if (configParam != null && configParam.toLowerCase().equals("true")) { _dateTimeConverterDefaultTimeZoneIsSystemTimeZone = true; } }
ApplicationImpl(final RuntimeConfig runtimeConfig) { if (runtimeConfig == null) { throw new IllegalArgumentException("runtimeConfig must mot be null"); } // set default implementation in constructor // pragmatic approach, no syncronizing will be needed in get methods _viewHandler = new ViewHandlerImpl(); _navigationHandler = new NavigationHandlerImpl(); _actionListener = new ActionListenerImpl(); _defaultRenderKitId = "HTML_BASIC"; _stateManager = new StateManagerImpl(); _elContextListeners = new ArrayList<ELContextListener>(); _resourceHandler = new ResourceHandlerImpl(); _flowHandler = new FlowHandlerImpl(); _searchExpressionHandler = new SearchExpressionHandlerImpl(); _runtimeConfig = runtimeConfig; if (log.isLoggable(Level.FINEST)) { log.finest("New Application instance created"); } String configParam = getFaceContext().getExternalContext(). getInitParameter(Converter.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME); if (configParam != null && configParam.toLowerCase().equals("true")) { _dateTimeConverterDefaultTimeZoneIsSystemTimeZone = true; } }