发明授权
US06289395B1 Generic Java-based event processor for scripting Java beans
失效
用于脚本化Java bean的通用的基于Java的事件处理器
- 专利标题: Generic Java-based event processor for scripting Java beans
- 专利标题(中): 用于脚本化Java bean的通用的基于Java的事件处理器
-
申请号: US08976881申请日: 1997-11-24
-
公开(公告)号: US06289395B1公开(公告)日: 2001-09-11
- 发明人: Ajay Arvind Apte , Ping Chen , John Conrad Sanchez
- 申请人: Ajay Arvind Apte , Ping Chen , John Conrad Sanchez
- 主分类号: G06F900
- IPC分类号: G06F900
摘要:
In scripting connections between objects within a component software architecture, a generic event processing module is provided to listen to all possible events. Objects registered for scripting are introspected to determine all events which may be fired by the object. In the case of the Java beans specification, this includes both Java-defined and user-defined events. One or more event listener classes for user-defined events may then be created, instantiated and added to the registered objects at runtime. When an event is fired and detected by a system listener, the appropriate event listener notifies the client, which may be a scripting component. The client may then take appropriate action. With an event processing module as described, event sinks need not be wrapped to become event listeners and event sources need not be wrapped to generate events in a specific manner. Events may be passed between sources and sinks without either knowing of the existence of the other.
信息查询