Now Xymon::Plugin::Server::Dispatch can take object or CODEREF.