Actural implementation codes for Lifecycle/LifecycleFactory?
hi, all
I am learning jsf source code these days. And I find that both Lifecycle and LifecycleFactory are abstract classes.
That is, for example, inside FacesServlet there is a call lifecycle.execute(FacesContext context) inside method service(), when this method(service() ) is called, what acturally happens?
[330 byte] By [
t-wella] at [2007-10-3 2:00:44]

These classes are part of the official JSF API. The spec has been built so that various parts of JSF can be replaced and customized.
The default implementation of these kinds of classes live in the impl packages and are normally called AbstractClassNameImpl. The implementation classes for the Sun RI are in com.sun.faces, and for Myfaces org.apache.myfaces.
For example, the MyFaces LifeCycleImpl is here:
http://svn.apache.org/repos/asf/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/lifecycle/LifecycleImpl.java
The one for the Sun reference implementation is here:
http://fisheye5.cenqua.com/browse/~raw,r=1.67/javaserverfaces-sources/jsf-ri/src/com/sun/faces/lifecycle/LifecycleImpl.java
Hope that helps.