Method, system, and apparatus for implementing object interfaces at runtime
    1.
    发明授权
    Method, system, and apparatus for implementing object interfaces at runtime 有权
    运行时实现对象接口的方法,系统和设备

    公开(公告)号:US07281252B1

    公开(公告)日:2007-10-09

    申请号:US10387293

    申请日:2003-03-12

    IPC分类号: G06F13/00

    CPC分类号: G06F17/3089 Y10S707/99936

    摘要: A method, system, and apparatus for implementing object interfaces at runtime are provided. According to the method, a request is received for a resource that includes a client side object that supports an object interface. In response to the request, program code is generated that implements the interface. Once the program code implementing the object interface has been generated, the requested resource and the program code implementing the object interface are returned in response to the request for the resource. An intermediary object for mediating communication between objects is also generated and returned in response to the request. If the object interface implements an interface for consuming data, the object interface registers itself with the intermediary object as an event consumer. If the object interface implements a provider interface, the object interface calls the intermediary object in response to the occurrence of a specified type of event.

    摘要翻译: 提供了一种用于在运行时实现对象接口的方法,系统和装置。 根据该方法,接收到包括支持对象接口的客户端对象的资源的请求。 响应请求,生成实现接口的程序代码。 一旦生成了实现对象接口的程序代码,则响应于对资源的请求而返回所请求的资源和实现对象接口的程序代码。 还会产生一个用于中介对象之间的通信的中间对象,并响应该请求返回。 如果对象接口实现了用于消耗数据的接口,则对象接口将自身与中间对象注册为事件消费者。 如果对象接口实现提供者接口,则对象接口将调用中间对象以响应指定类型的事件的发生。

    Method, system, and apparatus for exposing server properties to a client application
    2.
    发明授权
    Method, system, and apparatus for exposing server properties to a client application 有权
    将服务器属性暴露给客户端应用程序的方法,系统和设备

    公开(公告)号:US07188112B1

    公开(公告)日:2007-03-06

    申请号:US10661193

    申请日:2003-09-12

    IPC分类号: G06F17/30

    CPC分类号: G06F17/3089 Y10S707/99936

    摘要: A method, system, apparatus, and computer-readable medium are provided for exposing and utilizing property values maintained at a server computer. A request is received at the server computer for a resource, such as a Web page. In response to receiving the request, a determination is made by the server computer as to whether a property value maintained at the server computer should be returned with the resource. If the property value should be returned with the resource, the current value of the specified property is retrieve and is rendered into the resource as a variable statement specifying the current value of the property. The resource, including the variable statement, is then returned to the requesting application where it may be utilized.

    摘要翻译: 提供了一种方法,系统,装置和计算机可读介质,用于暴露和利用在服务器计算机上维护的属性值。 在服务器计算机处接收到诸如网页之类的资源的请求。 响应于接收到请求,服务器计算机确定是否应该用资源返回在服务器计算机上维护的属性值。 如果属性值应与资源一起返回,则指定属性的当前值将被检索,并作为指定属性当前值的变量语句呈现到资源中。 然后,将资源(包括可变语句)返回给可能被使用的请求应用程序。