Simplify JRuby service code.
Signed-off-by: Dmitriy Pavlenko <dmitriy.pavlenko@sysgears.com>