本文整理汇总了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));
}
示例2: DefaultExceptionHandlerFactory
import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory wrapped) {
super(wrapped);
}
示例3: CustomExceptionHandlerFactory
import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public CustomExceptionHandlerFactory(final ExceptionHandlerFactory parent) {
this.parent = parent;
}
示例4: JsfExceptionHandlerFactory
import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public JsfExceptionHandlerFactory(ExceptionHandlerFactory parentFactory) {
this.parentFactory = parentFactory;
}
示例5: DefaultExceptionHandlerFactory
import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
super(parent);
}
示例6: getWrapped
import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
/**
* Returns the wrapped factory.
*/
@Override
public ExceptionHandlerFactory getWrapped() {
return wrapped;
}
示例7: LinkBinderExceptionHandlerFactory
import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public LinkBinderExceptionHandlerFactory(ExceptionHandlerFactory parent) {
this.parent = parent;
}
示例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;
}
示例10: JsfExceptionHandlerFactory
import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public JsfExceptionHandlerFactory(ExceptionHandlerFactory factory) {
this.parent = factory;
}
示例11: CustomExceptionHandlerFactory
import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public CustomExceptionHandlerFactory(ExceptionHandlerFactory parent) {
this.parent = parent;
}
示例12: JtaExceptionHandlerFactory
import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public JtaExceptionHandlerFactory(ExceptionHandlerFactory p) {
this.parent = p;
}
示例13: JSFExceptionHandlerFactory
import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public JSFExceptionHandlerFactory(ExceptionHandlerFactory parent) {
this.parent = parent;
}
示例14: GlobalExceptionHandlerFactory
import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public GlobalExceptionHandlerFactory(ExceptionHandlerFactory exceptionHandlerFactory) {
this.exceptionHandlerFactory = exceptionHandlerFactory;
}
示例15: CustomExceptionHandlerFactory
import javax.faces.context.ExceptionHandlerFactory; //导入依赖的package包/类
public CustomExceptionHandlerFactory( ExceptionHandlerFactory parent )
{
this.parent = parent;
}