当前位置: 首页>>代码示例>>Java>>正文


Java ExceptionHandlerFactory类代码示例

本文整理汇总了Java中javax.faces.context.ExceptionHandlerFactory的典型用法代码示例。如果您正苦于以下问题:Java ExceptionHandlerFactory类的具体用法?Java ExceptionHandlerFactory怎么用?Java ExceptionHandlerFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ExceptionHandlerFactory类属于javax.faces.context包,在下文中一共展示了ExceptionHandlerFactory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: initFacesContext

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
protected void initFacesContext()
{
    FacesContextFactory facesContextFactory =
            (FacesContextFactory) FactoryFinder.getFactory(FactoryFinder.FACES_CONTEXT_FACTORY);
    this.facesContext = facesContextFactory.getFacesContext(
            this.servletContext, this.request, this.response, this.lifecycle);

    ((MockFacesContext) this.facesContext).setApplication(this.application);
    ExceptionHandler exceptionHandler = ((ExceptionHandlerFactory)
            FactoryFinder.getFactory(FactoryFinder.EXCEPTION_HANDLER_FACTORY)).getExceptionHandler();
    this.facesContext.setExceptionHandler(exceptionHandler);

    ((MockFacesContext) this.facesContext).setExternalContext(
            new MockExternalContext(this.servletContext, this.request, this.response));
}
 
开发者ID:apache,项目名称:deltaspike,代码行数:16,代码来源:MockedJsf2TestContainer.java

示例2: DefaultExceptionHandlerFactory

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory wrapped) {
    super(wrapped);
}
 
开发者ID:hantsy,项目名称:javaee8-jsf-sample,代码行数:4,代码来源:DefaultExceptionHandlerFactory.java

示例3: CustomExceptionHandlerFactory

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public CustomExceptionHandlerFactory(final ExceptionHandlerFactory parent) {
	this.parent = parent;
}
 
开发者ID:adminfaces,项目名称:admin-template,代码行数:4,代码来源:CustomExceptionHandlerFactory.java

示例4: JsfExceptionHandlerFactory

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public JsfExceptionHandlerFactory(ExceptionHandlerFactory parentFactory) {
	this.parentFactory = parentFactory;
}
 
开发者ID:marcelothebuilder,项目名称:webpedidos,代码行数:4,代码来源:JsfExceptionHandlerFactory.java

示例5: DefaultExceptionHandlerFactory

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
开发者ID:hantsy,项目名称:ee8-sandbox,代码行数:4,代码来源:DefaultExceptionHandlerFactory.java

示例6: getWrapped

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
/**
 * Returns the wrapped factory.
 */
@Override
public ExceptionHandlerFactory getWrapped() {
    return wrapped;
}
 
开发者ID:ddRPB,项目名称:rpb,代码行数:8,代码来源:RpbExceptionHandlerFactory.java

示例7: LinkBinderExceptionHandlerFactory

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public LinkBinderExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    this.parent = parent;
}
 
开发者ID:otsecbsol,项目名称:linkbinder,代码行数:4,代码来源:LinkBinderExceptionHandlerFactory.java

示例8: ViewExpiredExceptionExceptionHandlerFactory

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public ViewExpiredExceptionExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    this.parent = parent;
}
 
开发者ID:c-ruttkies,项目名称:MetFragRelaunched,代码行数:4,代码来源:ViewExpiredExceptionExceptionHandlerFactory.java

示例9: JsfExceptionHandlerFactory

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public JsfExceptionHandlerFactory(ExceptionHandlerFactory parent) {
	this.parent = parent;
}
 
开发者ID:fabiohxcx,项目名称:PedidoVenda,代码行数:4,代码来源:JsfExceptionHandlerFactory.java

示例10: JsfExceptionHandlerFactory

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public JsfExceptionHandlerFactory(ExceptionHandlerFactory factory) {
	this.parent = factory;
}
 
开发者ID:aureliano,项目名称:verbum-domini,代码行数:4,代码来源:JsfExceptionHandlerFactory.java

示例11: CustomExceptionHandlerFactory

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public CustomExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    this.parent = parent;
}
 
开发者ID:evgeniyosipov,项目名称:facshop,代码行数:4,代码来源:CustomExceptionHandlerFactory.java

示例12: JtaExceptionHandlerFactory

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public JtaExceptionHandlerFactory(ExceptionHandlerFactory p) {
    this.parent = p;
}
 
开发者ID:arievanwi,项目名称:osgi.ee,代码行数:4,代码来源:JtaExceptionHandlerFactory.java

示例13: JSFExceptionHandlerFactory

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public JSFExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    this.parent = parent;
}
 
开发者ID:aliaksoy,项目名称:ServisTakip,代码行数:4,代码来源:JSFExceptionHandlerFactory.java

示例14: GlobalExceptionHandlerFactory

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public GlobalExceptionHandlerFactory(ExceptionHandlerFactory exceptionHandlerFactory) {
    this.exceptionHandlerFactory = exceptionHandlerFactory;
}
 
开发者ID:GluuFederation,项目名称:oxTrust,代码行数:4,代码来源:GlobalExceptionHandlerFactory.java

示例15: CustomExceptionHandlerFactory

import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public CustomExceptionHandlerFactory( ExceptionHandlerFactory parent )
{
    this.parent = parent;
}
 
开发者ID:Comcast,项目名称:cats,代码行数:5,代码来源:CustomExceptionHandlerFactory.java


注:本文中的javax.faces.context.ExceptionHandlerFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。