org.apache.myfaces.extensions.cdi.jsf.api.listener.phase
Enum JsfPhaseId

java.lang.Object
  extended by java.lang.Enum<JsfPhaseId>
      extended by org.apache.myfaces.extensions.cdi.jsf.api.listener.phase.JsfPhaseId
All Implemented Interfaces:
Serializable, Comparable<JsfPhaseId>

public enum JsfPhaseId
extends Enum<JsfPhaseId>

It isn't possible to use the original implementation of JSF in combination with annotations

Author:
Gerhard Petracek

Enum Constant Summary
ANY_PHASE
           
APPLY_REQUEST_VALUES
           
INVOKE_APPLICATION
           
PROCESS_VALIDATIONS
           
RENDER_RESPONSE
           
RESTORE_VIEW
           
UPDATE_MODEL_VALUES
           
 
Method Summary
static JsfPhaseId convertFromFacesClass(javax.faces.event.PhaseId phaseId)
           
static javax.faces.event.PhaseId convertToFacesClass(JsfPhaseId phaseId)
           
static JsfPhaseId valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JsfPhaseId[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RESTORE_VIEW

public static final JsfPhaseId RESTORE_VIEW

APPLY_REQUEST_VALUES

public static final JsfPhaseId APPLY_REQUEST_VALUES

PROCESS_VALIDATIONS

public static final JsfPhaseId PROCESS_VALIDATIONS

UPDATE_MODEL_VALUES

public static final JsfPhaseId UPDATE_MODEL_VALUES

INVOKE_APPLICATION

public static final JsfPhaseId INVOKE_APPLICATION

RENDER_RESPONSE

public static final JsfPhaseId RENDER_RESPONSE

ANY_PHASE

public static final JsfPhaseId ANY_PHASE
Method Detail

values

public static JsfPhaseId[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (JsfPhaseId c : JsfPhaseId.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JsfPhaseId valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

convertToFacesClass

public static javax.faces.event.PhaseId convertToFacesClass(JsfPhaseId phaseId)

convertFromFacesClass

public static JsfPhaseId convertFromFacesClass(javax.faces.event.PhaseId phaseId)


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