def blocking_service_impl
      interface = service_class.java_proto_class::BlockingInterface
      service_method_names = service_class.service_method_names

      clazz = Class.new(Object) do
        include interface

        def initialize(processor)
          @processor = processor
        end

        service_method_names.each do |service_method_name|
          class_eval <<-EOF, __FILE__, __LINE__+1
            def #{service_method_name}(controller, request)
              response = @processor._#{service_method_name}(!request.nil? ? JProtobuf.jprotobuf_message(request) : nil)
              !response.nil? ? response.java_proto : nil
            end
          EOF
        end
      end

      service_class.java_proto_class.new_reflective_blocking_service(clazz.new(self))
    end
def blocking_service_impl
      interface = service_class.java_proto_class::BlockingInterface
      service_method_names = service_class.service_method_names

      clazz = Class.new(Object) do
        include interface

        def initialize(processor)
          @processor = processor
        end

        service_method_names.each do |service_method_name|
          class_eval <<-EOF, __FILE__, __LINE__+1
            def #{service_method_name}(controller, request)
              response = @processor._#{service_method_name}(!request.nil? ? JProtobuf.jprotobuf_message(request) : nil)
              !response.nil? ? response.java_proto : nil
            end
          EOF
        end
      end

      service_class.java_proto_class.new_reflective_blocking_service(clazz.new(self))
    end
Gets a Java Service implementation for this Processor.

 Note there is no JProtobuf class for this, only a Java class.

 @return a Java Blocking Service implementation for this Processor