unsubscribe Static
Unregisters all static handlers declared for the given class.
Both @EventHandler and @ExceptionHandler methods that were previously registered via subscribeStatic are removed. If type was not registered, this operation has no effect.
Parameters
type
the class whose static handler methods should be unregistered.