java.lang.Object
net.i2p.router.web.WrapperListener
Listen for events. Requires wrapper 3.2.0 or higher. Hides the actual listener so that ConfigServiceHandler can have a static field and not die on class not found error with wrapper 3.1.1.
Nested Class Summary
Nested ClassesField Summary
FieldsModifier and TypeFieldDescriptionprivate final WrapperEventListenerNotified of wrapper events.private static final StringProperty asking for a graceful stop on HUP.Constructor Summary
ConstructorsConstructorDescriptionWrapper must be 3.2.0 or higher, or will throw class not found error.Method Summary
All Methods
Field Details
_listener
Notified of wrapper events.PROP_GRACEFUL_HUP
Property asking for a graceful stop on HUP.- See Also:
Constructor Details
WrapperListener
Wrapper must be 3.2.0 or higher, or will throw class not found error. Registers with the wrapper in the constructor.- Parameters:
ctx- the router context handed to the nested signal handler, which logs through it when the wrapper reports a signal
Method Details
unregister
public void unregister()Unregister the handler for signals.