public static enum KeycloakTransactionManager.JTAPolicy extends Enum<KeycloakTransactionManager.JTAPolicy>
Enum Constant and Description |
---|
NOT_SUPPORTED
Do not interact with JTA at all
|
REQUIRES_NEW
A new JTA Transaction will be created when Keycloak TM begin() is called.
|
Modifier and Type | Method and Description |
---|---|
static KeycloakTransactionManager.JTAPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeycloakTransactionManager.JTAPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeycloakTransactionManager.JTAPolicy NOT_SUPPORTED
public static final KeycloakTransactionManager.JTAPolicy REQUIRES_NEW
public static KeycloakTransactionManager.JTAPolicy[] values()
for (KeycloakTransactionManager.JTAPolicy c : KeycloakTransactionManager.JTAPolicy.values()) System.out.println(c);
public static KeycloakTransactionManager.JTAPolicy 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 © 2019 JBoss by Red Hat. All rights reserved.