Annotation Type IsolatedPowerShell


@Retention(CLASS) @Target(METHOD) @Documented public @interface IsolatedPowerShell
Indicates that the annotated component executes PowerShell commands using isolated processes and does not rely on shared jPowerShell state.

Each invocation is performed in a separate PowerShell process, ensuring that no global configuration or shared state is reused between executions.

Implications

  • Safe for concurrent use across multiple threads and executors
  • Each session is isolated per call

This annotation is for documentation purposes only and does not enforce or verify any behavior.

Since:
4.1.0
See Also: