def define_operations
      @info.operations.each do |op| 
        self.class.__send__(:define_method, op.name) do |*params|
          jargs, jtypes = java_args(op.signature, params)
          @server.invoke @object_name, op.name, jargs, jtypes
        end
      end
    end
def define_operations
      @info.operations.each do |op| 
        self.class.__send__(:define_method, op.name) do |*params|
          jargs, jtypes = java_args(op.signature, params)
          @server.invoke @object_name, op.name, jargs, jtypes
        end
      end
    end
Define ruby friendly methods for operations.  For name conflicts you
 should call 'invoke(op_name, *args)'