Skip to content
Discussion options

You must be logged in to vote

You could possibly use signals yourself in this way. The Signal API is not a supported API in the JDK but in practice it's pretty much universal and it should work if you add a handler like this somewhere:

        Signal.handle(new Signal("HUP"), signal -> reinitializeMyBean());

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@dmlloyd
Comment options

dmlloyd Jun 12, 2026
Collaborator

@col-panic
Comment options

@col-panic
Comment options

@dmlloyd
Comment options

dmlloyd Jun 12, 2026
Collaborator

Answer selected by col-panic
@dmlloyd
Comment options

dmlloyd Jun 12, 2026
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants