org.apache.openejb.jee
Class FacesLifecycle

java.lang.Object
  extended by org.apache.openejb.jee.FacesLifecycle

public class FacesLifecycle
extends java.lang.Object

The "lifecycle" element provides a mechanism to specify modifications to the behaviour of the default Lifecycle implementation for this web application.

Java class for faces-config-lifecycleType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="faces-config-lifecycleType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="phase-listener" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="lifecycle-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-lifecycle-extensionType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String id
           
protected  java.util.List<FacesLifecycleExtension> lifecycleExtension
           
protected  java.util.List<java.lang.String> phaseListener
           
 
Constructor Summary
FacesLifecycle()
           
 
Method Summary
 java.lang.String getId()
          Gets the value of the id property.
 java.util.List<FacesLifecycleExtension> getLifecycleExtension()
          Gets the value of the lifecycleExtension property.
 java.util.List<java.lang.String> getPhaseListener()
          Gets the value of the phaseListener property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

phaseListener

protected java.util.List<java.lang.String> phaseListener

lifecycleExtension

protected java.util.List<FacesLifecycleExtension> lifecycleExtension

id

protected java.lang.String id
Constructor Detail

FacesLifecycle

public FacesLifecycle()
Method Detail

getPhaseListener

public java.util.List<java.lang.String> getPhaseListener()
Gets the value of the phaseListener property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the phaseListener property.

For example, to add a new item, do as follows:

    getPhaseListener().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getLifecycleExtension

public java.util.List<FacesLifecycleExtension> getLifecycleExtension()
Gets the value of the lifecycleExtension property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the lifecycleExtension property.

For example, to add a new item, do as follows:

    getLifecycleExtension().add(newItem);
 

Objects of the following type(s) are allowed in the list FacesLifecycleExtension


getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.