Class ConsoleBootstrapTokenOutput
java.lang.Object
com.svenruppert.jsentinel.bootstrap.ConsoleBootstrapTokenOutput
- All Implemented Interfaces:
BootstrapTokenOutput
Prints a one-time setup banner with the actual bootstrap token to the
server console. Used by
BootstrapMode.TRANSIENT_CONSOLE.
Output goes to the configured PrintStream (usually
System.out) and intentionally not to any application logger.
-
Constructor Summary
ConstructorsConstructorDescriptionConsoleBootstrapTokenOutput(PrintStream out, String setupHint) ConsoleBootstrapTokenOutput(String setupHint) -
Method Summary
Modifier and TypeMethodDescriptionvoidemit(BootstrapToken token, BootstrapConfiguration configuration)
-
Constructor Details
-
ConsoleBootstrapTokenOutput
-
ConsoleBootstrapTokenOutput
-
-
Method Details
-
emit
- Specified by:
emitin interfaceBootstrapTokenOutput
-