Invention Grant
US08612930B2 Methods and apparatus for dynamic class reloading and versioning
有权
用于动态类重新加载和版本控制的方法和装置
- Patent Title: Methods and apparatus for dynamic class reloading and versioning
- Patent Title (中): 用于动态类重新加载和版本控制的方法和装置
-
Application No.: US12363289Application Date: 2009-01-30
-
Publication No.: US08612930B2Publication Date: 2013-12-17
- Inventor: Timothy J. Quinn , John R. Rose
- Applicant: Timothy J. Quinn , John R. Rose
- Applicant Address: US CA Redwood City
- Assignee: Oracle America, Inc.
- Current Assignee: Oracle America, Inc.
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
Methods and apparatus for dynamic class reloading and versioning that allow developers to change and recompile classes and to have running programs adopt the new versions of the classes dynamically, without redeploying the application. A dynamic class reloading component detects if the environment supports dynamic class redefinition and uses it if supported but does not require it. As the component loads a managed class, it modifies the bytecode of the class and generates additional classes and interfaces to support type-safe class versioning. Unique names are generated for successive versions of a managed class. A separate interface may be generated for each distinct method name and signature implemented on managed classes. Each generated class may implement all the generated interfaces that correspond to its methods. The same class loader that would load each managed class without the component loads the component-generated classes and interfaces.
Public/Granted literature
- US20100199259A1 Methods and Apparatus for Dynamic Class Reloading and Versioning Public/Granted day:2010-08-05
Information query