org.apache.myfaces.test.mock
Class MockFacesContextFactory

java.lang.Object
  extended by javax.faces.context.FacesContextFactory
      extended by org.apache.myfaces.test.mock.MockFacesContextFactory

public class MockFacesContextFactory
extends javax.faces.context.FacesContextFactory

Mock implementation of FacesContextFactory.

$Id$

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 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 © 2011 The Apache Software Foundation. All Rights Reserved.