本文整理汇总了Java中javax.faces.view.facelets.ResourceResolver类的典型用法代码示例。如果您正苦于以下问题:Java ResourceResolver类的具体用法?Java ResourceResolver怎么用?Java ResourceResolver使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ResourceResolver类属于javax.faces.view.facelets包,在下文中一共展示了ResourceResolver类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: ExternalResourceHandler
import javax.faces.view.facelets.ResourceResolver; //导入依赖的package包/类
public ExternalResourceHandler(ResourceResolver parent) {
this.parent = parent;
this.pagesUpdateByViewId = Collections.synchronizedMap(new HashMap<String, Boolean>());
String externalResourceBase = System.getProperty("server.base");
if (StringHelper.isNotEmpty(externalResourceBase)) {
externalResourceBase += "/custom/pages";
File folder = new File(externalResourceBase);
if (folder.exists() && folder.isDirectory()) {
this.externalResourceBaseFolder = folder;
this.useExternalResourceBase = true;
} else {
log.error("Specified path '" + externalResourceBase + "' in 'server.base' not exists or not a folder!");
}
}
}
开发者ID:GluuFederation,项目名称:oxCore,代码行数:17,代码来源:ExternalResourceHandler.java
示例2: ExternalResourceHandler
import javax.faces.view.facelets.ResourceResolver; //导入依赖的package包/类
public ExternalResourceHandler(ResourceResolver parent) {
this.parent = parent;
String externalResourceBase = System.getProperty("gluu.external.resource.base");
if (StringHelper.isNotEmpty(externalResourceBase)) {
externalResourceBase += "/oxtrust/pages";
File folder = new File(externalResourceBase);
if (folder.exists() && folder.isDirectory()) {
this.externalResourceBaseFolder = folder;
this.useExternalResourceBase = true;
} else {
log.error("Specified path '" + externalResourceBase + "' in 'gluu.external.resource.base' not exists or not folder!");
}
}
}
开发者ID:AgarwalNeha1,项目名称:gluu,代码行数:16,代码来源:ExternalResourceHandler.java
示例3: CustomResourceResolver
import javax.faces.view.facelets.ResourceResolver; //导入依赖的package包/类
public CustomResourceResolver(ResourceResolver parent) {
this.parent = parent;
this.basePath = "/META-INF/resources";
}
开发者ID:studentloanscompany,项目名称:ft-components,代码行数:5,代码来源:CustomResourceResolver.java
示例4: FaceletsResourceResolver
import javax.faces.view.facelets.ResourceResolver; //导入依赖的package包/类
public FaceletsResourceResolver(ResourceResolver parent) {
this.parent = parent;
this.basePath = "/META-INF";
}
开发者ID:jmrunge,项目名称:osiris-platform,代码行数:5,代码来源:FaceletsResourceResolver.java
示例5: FaceletsResourceResolver
import javax.faces.view.facelets.ResourceResolver; //导入依赖的package包/类
/**
* Consructor
*
* @param parent
*/
public FaceletsResourceResolver(final ResourceResolver parent) {
this.parent = parent;
}
开发者ID:omerozkan,项目名称:vipera,代码行数:9,代码来源:FaceletsResourceResolver.java
注:本文中的javax.faces.view.facelets.ResourceResolver类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论