org.apache.myfaces.test.mock.lifecycle
Class MockLifecycleFactory

java.lang.Object
  extended by javax.faces.lifecycle.LifecycleFactory
      extended by org.apache.myfaces.test.mock.lifecycle.MockLifecycleFactory
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.lifecycle.LifecycleFactory>

public class MockLifecycleFactory
extends javax.faces.lifecycle.LifecycleFactory

Mock implementation of LifecycleFactory.

$Id$

Since:
1.0.0

Field Summary
 
Fields inherited from class javax.faces.lifecycle.LifecycleFactory
DEFAULT_LIFECYCLE
 
Constructor Summary
MockLifecycleFactory()
          Return a default instance.
 
Method Summary
 void addLifecycle(String lifecycleId, javax.faces.lifecycle.Lifecycle lifecycle)
          
 javax.faces.lifecycle.Lifecycle getLifecycle(String lifecycleId)
          
 Iterator getLifecycleIds()
          
 
Methods inherited from class javax.faces.lifecycle.LifecycleFactory
getWrapped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockLifecycleFactory

public MockLifecycleFactory()

Return a default instance.

Method Detail

addLifecycle

public void addLifecycle(String lifecycleId,
                         javax.faces.lifecycle.Lifecycle lifecycle)

Specified by:
addLifecycle in class javax.faces.lifecycle.LifecycleFactory

getLifecycle

public javax.faces.lifecycle.Lifecycle getLifecycle(String lifecycleId)

Specified by:
getLifecycle in class javax.faces.lifecycle.LifecycleFactory

getLifecycleIds

public Iterator getLifecycleIds()

Specified by:
getLifecycleIds in class javax.faces.lifecycle.LifecycleFactory


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