Interface GroovyConsoleSessionWithDatabaseModule
@Module(includes=io.deephaven.server.console.groovy.InitScriptsModule.ServiceLoader.class)
public interface GroovyConsoleSessionWithDatabaseModule
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A thin wrapper around aScriptSession
so that we can invalidate the controller class loader cache before evaluating scripts. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScriptSession
provideGroovySession
(UpdateGraph updateGraph, OperationInitializer operationInitializer, ObjectTypeLookup lookup, ScriptSession.Listener listener, GroovyDeephavenSession.RunScripts runScripts, Database database, File cacheDir, String persistentQueryScriptPathLoaderState, UserContext serverCredentials, @NotNull ControllerClientFactory controllerClientFactory)
-
Method Details
-
provideGroovySession
@Provides @IntoMap @StringKey("groovy") static ScriptSession provideGroovySession(@Named("DEFAULT") UpdateGraph updateGraph, OperationInitializer operationInitializer, ObjectTypeLookup lookup, ScriptSession.Listener listener, GroovyDeephavenSession.RunScripts runScripts, Database database, @Named("cacheDir") File cacheDir, @Nullable @Named("persistentQueryScriptPathLoaderState") String persistentQueryScriptPathLoaderState, @Named("auth.serverCredentials") UserContext serverCredentials, @NotNull @NotNull ControllerClientFactory controllerClientFactory) -
bindDatabaseMethods
-