Class GroovyConsoleSessionWithDatabaseModule.ScriptSessionWrapper

All Implemented Interfaces:
LogOutputAppendable, LivenessManager, LivenessNode, LivenessReferent, ScriptSession, Serializable
Enclosing interface:
GroovyConsoleSessionWithDatabaseModule

public static final class GroovyConsoleSessionWithDatabaseModule.ScriptSessionWrapper extends LivenessArtifact implements ScriptSession
A thin wrapper around a ScriptSession so that we can invalidate the controller class loader cache before evaluating scripts. Non-PQ contexts will invalidate controller CL cache on new commands and therefore retrieve live updates. TODO: Instead of cache invalidation on new commands, implement controller available script subscriptions.
See Also: