br.gov.frameworkdemoiselle.internal.configuration
Enum EntityManagerConfig.EntityManagerScope
java.lang.Object
java.lang.Enum<EntityManagerConfig.EntityManagerScope>
br.gov.frameworkdemoiselle.internal.configuration.EntityManagerConfig.EntityManagerScope
- All Implemented Interfaces:
- Serializable, Comparable<EntityManagerConfig.EntityManagerScope>
- Enclosing class:
- EntityManagerConfig
public static enum EntityManagerConfig.EntityManagerScope
- extends Enum<EntityManagerConfig.EntityManagerScope>
Supported scopes for the entity manager
- Author:
- serpro
NOSCOPE
public static final EntityManagerConfig.EntityManagerScope NOSCOPE
REQUEST
public static final EntityManagerConfig.EntityManagerScope REQUEST
SESSION
public static final EntityManagerConfig.EntityManagerScope SESSION
VIEW
public static final EntityManagerConfig.EntityManagerScope VIEW
CONVERSATION
public static final EntityManagerConfig.EntityManagerScope CONVERSATION
APPLICATION
public static final EntityManagerConfig.EntityManagerScope APPLICATION
values
public static EntityManagerConfig.EntityManagerScope[] 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 (EntityManagerConfig.EntityManagerScope c : EntityManagerConfig.EntityManagerScope.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EntityManagerConfig.EntityManagerScope 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
Copyright © 2013 SERPRO - Serviço Federal de Processamento de Dados. All Rights Reserved.