Package com.tick42.glue
Interface Glue.Builder
- All Superinterfaces:
GlueApplication.Builder<Glue.Builder,Glue>
- All Known Implementing Classes:
Tick42Glue.Builder
- Enclosing interface:
- Glue
Helper to build a
Glue instance.-
Method Summary
Modifier and TypeMethodDescriptionIgnore configuration provided via_GD_STARTING_CONTEXT_environment variable.withShutdownRequestListener(Consumer<Glue> shutDownRequestListener) Set shutdown listener.Methods inherited from interface com.tick42.glue.core.GlueApplication.Builder
build, buildAsync, withApplicationName, withClickStreamMetrics, withConfigLoader
-
Method Details
-
disableStartingContext
Glue.Builder disableStartingContext()Ignore configuration provided via_GD_STARTING_CONTEXT_environment variable. -
withShutdownRequestListener
Set shutdown listener.- Specified by:
withShutdownRequestListenerin interfaceGlueApplication.Builder<Glue.Builder,Glue> - Parameters:
shutDownRequestListener- the listener to use, notnull- Returns:
- this builder, never
null - Since:
- 1.3.8
-