JSF Test Framework: Mock 1.1.2

org.jboss.test.faces.mock.lifecycle
Class MockLifecycleFactory

java.lang.Object
  extended by javax.faces.lifecycle.LifecycleFactory
      extended by org.jboss.test.faces.mock.lifecycle.MockLifecycleFactory
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.lifecycle.LifecycleFactory>, FacesMockController.MockObject

public class MockLifecycleFactory
extends javax.faces.lifecycle.LifecycleFactory
implements FacesMockController.MockObject


Field Summary
 
Fields inherited from class javax.faces.lifecycle.LifecycleFactory
DEFAULT_LIFECYCLE
 
Constructor Summary
MockLifecycleFactory()
          Default constructor
MockLifecycleFactory(org.easymock.IMocksControl control, String name)
           
 
Method Summary
 void addLifecycle(String arg0, javax.faces.lifecycle.Lifecycle arg1)
           
 boolean equals(Object obj)
           
 org.easymock.IMocksControl getControl()
           
 javax.faces.lifecycle.Lifecycle getLifecycle(String arg0)
           
 Iterator getLifecycleIds()
           
 javax.faces.lifecycle.LifecycleFactory getWrapped()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockLifecycleFactory

public MockLifecycleFactory()
Default constructor


MockLifecycleFactory

public MockLifecycleFactory(org.easymock.IMocksControl control,
                            String name)
Parameters:
control -
Method Detail

getControl

public org.easymock.IMocksControl getControl()
Specified by:
getControl in interface FacesMockController.MockObject

getLifecycle

public javax.faces.lifecycle.Lifecycle getLifecycle(String arg0)
Specified by:
getLifecycle in class javax.faces.lifecycle.LifecycleFactory

getWrapped

public javax.faces.lifecycle.LifecycleFactory getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.faces.lifecycle.LifecycleFactory>
Overrides:
getWrapped in class javax.faces.lifecycle.LifecycleFactory

addLifecycle

public void addLifecycle(String arg0,
                         javax.faces.lifecycle.Lifecycle arg1)
Specified by:
addLifecycle in class javax.faces.lifecycle.LifecycleFactory

getLifecycleIds

public Iterator getLifecycleIds()
Specified by:
getLifecycleIds in class javax.faces.lifecycle.LifecycleFactory

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

JSF Test Framework: Mock 1.1.2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.