public static enum SessionConfiguration.ReplicationTrigger extends Enum<SessionConfiguration.ReplicationTrigger>
| Enum Constant and Description |
|---|
SET
This option assumes that the application will explicitly call
setAttribute on the session when the data needs to be replicated.
|
SET_AND_NON_PRIMITIVE_GET
Session data is replicated on set of the attribute and when an attribute
retrieved via Attribute contains a non-primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReplicateOnGet()
Returns
true if session should be replicated on getAttribute
operation |
static SessionConfiguration.ReplicationTrigger |
validate(String replicationValue)
Checks passed value against allowed values in enumeration.
|
static SessionConfiguration.ReplicationTrigger |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionConfiguration.ReplicationTrigger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionConfiguration.ReplicationTrigger SET_AND_NON_PRIMITIVE_GET
public static final SessionConfiguration.ReplicationTrigger SET
public static SessionConfiguration.ReplicationTrigger[] values()
for (SessionConfiguration.ReplicationTrigger c : SessionConfiguration.ReplicationTrigger.values()) System.out.println(c);
public static SessionConfiguration.ReplicationTrigger 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 nullpublic boolean isReplicateOnGet()
true if session should be replicated on getAttribute
operationtrue if session should be replicated on getpublic static SessionConfiguration.ReplicationTrigger validate(String replicationValue)
replicationValue - value to checkCopyright © 2018 Amadeus s.a.s.. All rights reserved.