public enum PersistenceContextInView extends Enum<PersistenceContextInView>
| Enum Constant and Description |
|---|
FILTER
Create a filter and register it dynamically to all servlets if possible.
|
INTERCEPTOR
Create an interceptor and register it on the handlermapping level.
|
NONE
Do not configure any persistence context tied to the view layer.
|
| Modifier and Type | Method and Description |
|---|---|
static PersistenceContextInView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceContextInView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistenceContextInView NONE
public static final PersistenceContextInView FILTER
public static final PersistenceContextInView INTERCEPTOR
public static PersistenceContextInView[] values()
for (PersistenceContextInView c : PersistenceContextInView.values()) System.out.println(c);
public static PersistenceContextInView valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.