org.apache.myfaces.test.mock
Class MockFacesContextFactory

java.lang.Object
  extended by javax.faces.context.FacesContextFactory
      extended by org.apache.myfaces.test.mock.MockFacesContextFactory
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.context.FacesContextFactory>

public class MockFacesContextFactory
extends javax.faces.context.FacesContextFactory

Mock implementation of FacesContextFactory.

$Id: MockFacesContextFactory.java 1604204 2014-06-20 16:20:34Z lu4242 $

Since:
1.0.0

Constructor Summary
MockFacesContextFactory()
          Look up the constructor we will use for creating MockFacesContext instances.
 
Method Summary
 javax.faces.context.FacesContext getFacesContext(Object context, Object request, Object response, javax.faces.lifecycle.Lifecycle lifecycle)
          
 
Methods inherited from class javax.faces.context.FacesContextFactory
getWrapped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockFacesContextFactory

public MockFacesContextFactory()

Look up the constructor we will use for creating MockFacesContext instances.

Method Detail

getFacesContext

public javax.faces.context.FacesContext getFacesContext(Object context,
                                                        Object request,
                                                        Object response,
                                                        javax.faces.lifecycle.Lifecycle lifecycle)
                                                 throws javax.faces.FacesException

Specified by:
getFacesContext in class javax.faces.context.FacesContextFactory
Throws:
javax.faces.FacesException


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.