Annotation Type PojoFsm
-
@Documented @Retention(RUNTIME) public @interface PojoFsmAnnotation for properties related to an FSM used by a pojo feature.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<?>fsmClassjava.lang.Class<?>fsmCodecClassjava.lang.Stringspecification
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleansessionLifetimeShould the state of this FSM, as used by the pojo feature, exist for the lifetime of the session.booleanstatelessif true, the encoded state of the FSM will never be registered, avoiding save and load overhead
-
-
-
-
sessionLifetime
boolean sessionLifetime
Should the state of this FSM, as used by the pojo feature, exist for the lifetime of the session. Multiple instances of such a pojo feature will, therefore, see the same FSM instance during the session.- Returns:
- true, if the FSM should exist from the point the FSM is created until the session ends. false, if the FSM will exist from the point the FSM is created until the next FSM instance is created.
- Default:
- true
-
-