- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.sun.faces.config.WebConfiguration.overrideContextInitParameter()
方法的一些代码示例,展示了WebConfiguration.overrideContextInitParameter()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebConfiguration.overrideContextInitParameter()
方法的具体详情如下:
包路径:com.sun.faces.config.WebConfiguration
类名称:WebConfiguration
方法名:overrideContextInitParameter
暂无
代码示例来源:origin: org.glassfish.main.web/jsf-connector
LOGGER.fine("setting the EnableAgressiveSessionDirtying to true");
config.overrideContextInitParameter(WebConfiguration.BooleanWebContextInitParameter.EnableAgressiveSessionDirtying,
Boolean.TRUE);
代码示例来源:origin: org.glassfish/jakarta.faces
private void processViewHandlers(ServletContext servletContext, FacesContext facesContext, Application application, LinkedHashMap<String, Node> viewHandlers) {
// Take special action on the ViewHandlers that have been configured for the application.
// If any of the ViewHandlers is the FaceletViewHandler, don't install the 2.0 FaceletViewHandler.
// Make the application behave as 1.2 unless they use our ViewHandler
WebConfiguration webConfig = WebConfiguration.getInstance();
if (!webConfig.isOptionEnabled(DisableFaceletJSFViewHandler) && !webConfig.isOptionEnabled(DisableFaceletJSFViewHandlerDeprecated)) {
if (viewHandlers.containsKey("com.sun.facelets.FaceletViewHandler")) {
LOGGER.log(WARNING, "jsf.application.legacy_facelet_viewhandler_detected", "com.sun.facelets.FaceletViewHandler");
webConfig.overrideContextInitParameter(DisableFaceletJSFViewHandler, true);
}
}
for (Node viewHandlerNode : viewHandlers.values()) {
setViewHandler(servletContext, facesContext, application, viewHandlerNode);
}
}
代码示例来源:origin: com.sun.faces/jsf-impl
private void processViewHandlers(ServletContext sc, Application app,
LinkedHashMap<String, Node> viewHandlers) {
// take special action on the ViewHandlers that have been
// configured for the application. If any of the ViewHandlers
// is the FaceletViewHandler, don't install the 2.0
// FaceletViewHandler. Make the application behave as 1.2
// unless they use our ViewHandler
WebConfiguration webConfig = WebConfiguration.getInstance();
if (!webConfig.isOptionEnabled(DisableFaceletJSFViewHandler)) {
if (viewHandlers.containsKey("com.sun.facelets.FaceletViewHandler")) {
if (LOGGER.isLoggable(Level.WARNING)) {
LOGGER.log(Level.WARNING,
"jsf.application.legacy_facelet_viewhandler_detected",
"com.sun.facelets.FaceletViewHandler");
}
webConfig.overrideContextInitParameter(DisableFaceletJSFViewHandler, true);
}
}
for (Node n : viewHandlers.values()) {
setViewHandler(sc, app, n);
}
}
代码示例来源:origin: org.glassfish/javax.faces
private void processViewHandlers(ServletContext servletContext, FacesContext facesContext, Application application, LinkedHashMap<String, Node> viewHandlers) {
// Take special action on the ViewHandlers that have been configured for the application.
// If any of the ViewHandlers is the FaceletViewHandler, don't install the 2.0 FaceletViewHandler.
// Make the application behave as 1.2 unless they use our ViewHandler
WebConfiguration webConfig = WebConfiguration.getInstance();
if (!webConfig.isOptionEnabled(DisableFaceletJSFViewHandler) && !webConfig.isOptionEnabled(DisableFaceletJSFViewHandlerDeprecated)) {
if (viewHandlers.containsKey("com.sun.facelets.FaceletViewHandler")) {
LOGGER.log(WARNING, "jsf.application.legacy_facelet_viewhandler_detected", "com.sun.facelets.FaceletViewHandler");
webConfig.overrideContextInitParameter(DisableFaceletJSFViewHandler, true);
}
}
for (Node viewHandlerNode : viewHandlers.values()) {
setViewHandler(servletContext, facesContext, application, viewHandlerNode);
}
}
代码示例来源:origin: com.sun.faces/jsf-impl
webconfig.overrideContextInitParameter(DisableFaceletJSFViewHandler, isFaceletsDisabled);
代码示例来源:origin: org.glassfish/jakarta.faces
webconfig.overrideContextInitParameter(DisableFaceletJSFViewHandler, isFaceletsDisabled);
代码示例来源:origin: org.glassfish/javax.faces
webconfig.overrideContextInitParameter(DisableFaceletJSFViewHandler, isFaceletsDisabled);
代码示例来源:origin: asual/summer
public FacesRenderKitImpl() {
webConfig = WebConfiguration.getInstance();
String value = webConfig.getEnvironmentEntry(WebConfiguration.WebEnvironmentEntry.ProjectStage);
if (value == null) {
value = webConfig.getOptionValue(WebContextInitParameter.JavaxFacesProjectStage);
}
try {
if (value != null) {
if (ProjectStage.valueOf(value).equals(ProjectStage.Development)) {
webConfig.overrideContextInitParameter(WebContextInitParameter.FaceletsDefaultRefreshPeriod,
WebContextInitParameter.FaceletsDefaultRefreshPeriod.getDefaultValue());
}
}
} catch (IllegalArgumentException e) {
}
}
代码示例来源:origin: com.asual.summer/summer-core
public FacesRenderKitImpl() {
webConfig = WebConfiguration.getInstance();
String value = webConfig.getEnvironmentEntry(WebConfiguration.WebEnvironmentEntry.ProjectStage);
if (value == null) {
value = webConfig.getOptionValue(WebContextInitParameter.JavaxFacesProjectStage);
}
try {
if (value != null) {
if (ProjectStage.valueOf(value).equals(ProjectStage.Development)) {
webConfig.overrideContextInitParameter(WebContextInitParameter.FaceletsDefaultRefreshPeriod,
WebContextInitParameter.FaceletsDefaultRefreshPeriod.getDefaultValue());
}
}
} catch (IllegalArgumentException e) {
}
}
代码示例来源:origin: javax.faces/jsf-impl
webConfig.overrideContextInitParameter(BooleanWebContextInitParameter.EnableLazyBeanValidation, false);
Verifier.setCurrentInstance(new Verifier());
代码示例来源:origin: eclipse-ee4j/mojarra
webConfig.overrideContextInitParameter(EnableLazyBeanValidation, false);
Verifier.setCurrentInstance(new Verifier());
代码示例来源:origin: com.sun.faces/jsf-impl
webConfig.overrideContextInitParameter(EnableLazyBeanValidation, false);
Verifier.setCurrentInstance(new Verifier());
代码示例来源:origin: org.glassfish/jakarta.faces
webConfig.overrideContextInitParameter(EnableLazyBeanValidation, false);
Verifier.setCurrentInstance(new Verifier());
代码示例来源:origin: org.glassfish/javax.faces
webConfig.overrideContextInitParameter(EnableLazyBeanValidation, false);
Verifier.setCurrentInstance(new Verifier());
本文整理了Java中com.sun.faces.config.WebConfiguration.setOptionValue()方法的一些代码示例,展示了WebConfiguration.setOpt
本文整理了Java中com.sun.faces.config.WebConfiguration.getServletContextName()方法的一些代码示例,展示了WebConfiguration
本文整理了Java中com.sun.faces.config.WebConfiguration.clear()方法的一些代码示例,展示了WebConfiguration.clear()的具体用法。这些
本文整理了Java中com.sun.faces.config.WebConfiguration.processJndiEntries()方法的一些代码示例,展示了WebConfiguration.pr
本文整理了Java中com.sun.faces.config.WebConfiguration.isValueValid()方法的一些代码示例,展示了WebConfiguration.isValueV
本文整理了Java中com.sun.faces.config.WebConfiguration.setOptionEnabled()方法的一些代码示例,展示了WebConfiguration.setO
本文整理了Java中com.sun.faces.config.WebConfiguration.getConfiguredExtensions()方法的一些代码示例,展示了WebConfigurati
本文整理了Java中com.sun.faces.config.WebConfiguration.isHasFlows()方法的一些代码示例,展示了WebConfiguration.isHasFlows
本文整理了Java中com.sun.faces.config.WebConfiguration.processInitParameters()方法的一些代码示例,展示了WebConfiguration
本文整理了Java中com.sun.faces.config.WebConfiguration.doPostBringupActions()方法的一些代码示例,展示了WebConfiguration.
本文整理了Java中com.sun.faces.config.WebConfiguration.discoverResourceLibraryContracts()方法的一些代码示例,展示了WebCo
本文整理了Java中com.sun.faces.config.WebConfiguration.getInstanceWithoutCreating()方法的一些代码示例,展示了WebConfigur
本文整理了Java中com.sun.faces.config.WebConfiguration.getFacesConfigOptionValue()方法的一些代码示例,展示了WebConfigura
本文整理了Java中com.sun.faces.config.WebConfiguration.processBooleanParameters()方法的一些代码示例,展示了WebConfigurat
本文整理了Java中com.sun.faces.config.WebConfiguration.setHasFlows()方法的一些代码示例,展示了WebConfiguration.setHasFlo
本文整理了Java中com.sun.faces.config.WebConfiguration.queueLoggingAction()方法的一些代码示例,展示了WebConfiguration.qu
本文整理了Java中com.sun.faces.config.WebConfiguration.initSetList()方法的一些代码示例,展示了WebConfiguration.initSetLi
本文整理了Java中com.sun.faces.config.WebConfiguration.overrideContextInitParameter()方法的一些代码示例,展示了WebConfig
本文整理了Java中com.sun.faces.config.WebConfiguration.getOptionValue()方法的一些代码示例,展示了WebConfiguration.getOpt
本文整理了Java中com.sun.faces.config.WebConfiguration.isOptionEnabled()方法的一些代码示例,展示了WebConfiguration.isOpt
我是一名优秀的程序员,十分优秀!