org.apache.shale.test.mock
Class MockLifecycle

java.lang.Object
  extended by javax.faces.lifecycle.Lifecycle
      extended by org.apache.shale.test.mock.MockLifecycle

public class MockLifecycle
extends javax.faces.lifecycle.Lifecycle

Mock implementation of Lifecycle.

$Id$


Constructor Summary
MockLifecycle()
           
 
Method Summary
 void addPhaseListener(javax.faces.event.PhaseListener listener)
          
 void execute(javax.faces.context.FacesContext context)
          
 javax.faces.event.PhaseListener[] getPhaseListeners()
          
 void removePhaseListener(javax.faces.event.PhaseListener listener)
          
 void render(javax.faces.context.FacesContext context)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockLifecycle

public MockLifecycle()
Method Detail

addPhaseListener

public void addPhaseListener(javax.faces.event.PhaseListener listener)

Specified by:
addPhaseListener in class javax.faces.lifecycle.Lifecycle

execute

public void execute(javax.faces.context.FacesContext context)
             throws javax.faces.FacesException

Specified by:
execute in class javax.faces.lifecycle.Lifecycle
Throws:
javax.faces.FacesException

getPhaseListeners

public javax.faces.event.PhaseListener[] getPhaseListeners()

Specified by:
getPhaseListeners in class javax.faces.lifecycle.Lifecycle

removePhaseListener

public void removePhaseListener(javax.faces.event.PhaseListener listener)

Specified by:
removePhaseListener in class javax.faces.lifecycle.Lifecycle

render

public void render(javax.faces.context.FacesContext context)
            throws javax.faces.FacesException

Specified by:
render in class javax.faces.lifecycle.Lifecycle
Throws:
javax.faces.FacesException


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.