Package io.ryos.rhino.sdk.annotations
Annotation Type Prepare
-
@Deprecated @Retention(RUNTIME) @Target(METHOD) public @interface Prepare
Deprecated.useBefore
instead.The annotation is used to mark static method which are run before the simulation is started for each user. It allows test developers to prepare the simulation before the simulation run e.g create some resources on server.The prepare method is useful to allocate resources used by scenarios run in simulations. The test developers might create some resources in prepare method so that scenarios can access the same resources without having need of creating them, repeatedly.
Prepare method must be public and static:
- Since:
- 1.1.0
- Author:
- Erhan Bagdemir
- See Also:
CleanUp
,SimulationSession
,UserSession