| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<InterceptionType>
org.jboss.seam.InterceptionType
public enum InterceptionType
Rules for when Seam will intercept invocations upon a component to perform bijection, validation, context demarcation, etc. For JavaBeans and session beans, the default interception type is INVOKE_APPLICATION. All entity beans have interception type NEVER.
| Enum Constant Summary | |
|---|---|
| AFTER_RESTORE_VIEWSeam intercepts any invocations that occur after the restore view phase, or any invocation that occurs outside the context of JSF | |
| AFTER_UPDATE_MODEL_VALUESSeam intercepts any invocations that occur after the update model values phase, or any invocation that occurs outside the context of JSF | |
| ALWAYSSeam always intercepts invocations upon the component (default for session bean and JavaBean components) | |
| INVOKE_APPLICATIONSeam intercepts invocations upon the component only during the invoke application phase, or invocations that occur outside the context of JSF | |
| NEVERSeam never intercepts invocations upon the component (default for entity bean components) | |
| Method Summary | |
|---|---|
|  boolean | isActive() | 
| static InterceptionType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static InterceptionType[] | values()Returns an array containing the constants of this enum type, in the order they're declared. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final InterceptionType NEVER
public static final InterceptionType AFTER_RESTORE_VIEW
public static final InterceptionType AFTER_UPDATE_MODEL_VALUES
public static final InterceptionType INVOKE_APPLICATION
public static final InterceptionType ALWAYS
| Method Detail | 
|---|
public static final InterceptionType[] values()
for(InterceptionType c : InterceptionType.values())
        System.out.println(c);
public static InterceptionType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic boolean isActive()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||