Invention Grant
- Patent Title: OSGi dynamic bundle generation at runtime
- Patent Title (中): OSGi在运行时生成动态绑定
-
Application No.: US12112883Application Date: 2008-04-30
-
Publication No.: US08230389B2Publication Date: 2012-07-24
- Inventor: Piotr Beltowski , Wojciech Kocjan
- Applicant: Piotr Beltowski , Wojciech Kocjan
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: McGinn IP Law Group, PLLC
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A method of dynamically creating an OSGi bundle is provided, including determining a directory for creation of the OSGi bundle, a runtime environment, and an OSGi framework, determining a functionality and a data for the OSGi bundle based on the runtime environment and the OSGi framework, creating a JAR file of the OSGi bundle with the data and the functionality, creating a bundle manifest for the OSGi bundle accordingly, installing and starting the OSGi bundle; and using an activator of the OSGi bundle to any one of initialize services and perform any additional tasks. One of a main OSGi bundle and an application performs the determining, the creating, and the installing and starting. The main OSGi bundle and the application have logic that enables the determining of the functionality and the data offered by the OSGi bundle. An initialization of the services and a performance of the any additional tasks is dependent on the functionality and the data of the OSGi bundle. The main OSGi bundle includes an activator launched prior to the determining the directory. The activator of the main OSGi bundle performs the determining, the creating, and the installing and starting. The application installing and starting the OSGi bundle is framework dependent.
Public/Granted literature
- US20090276755A1 OSGi DYNAMIC BUNDLE GENERATION AT RUNTIME Public/Granted day:2009-11-05
Information query