Documentation/CTK Plugin Framework: Getting Started: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
The CTK Plugin Framework is directly based on the OSGi specifications, hence any material explaining OSGi also applies to CTK (without the Java specifics, of course). | The CTK Plugin Framework is directly based on the OSGi specifications, hence any material explaining OSGi also applies to CTK (without the Java specifics, of course). You may want to read the [[Documentation/CTK_Plugin_Framework:_Introduction | Introduction]] to get a high-level overiew about the framework. | ||
=== CTK Plugin Tutorials === | === CTK Plugin Tutorials === |
Revision as of 06:11, 17 November 2011
Home < Documentation < CTK Plugin Framework: Getting StartedThe CTK Plugin Framework is directly based on the OSGi specifications, hence any material explaining OSGi also applies to CTK (without the Java specifics, of course). You may want to read the Introduction to get a high-level overiew about the framework.
CTK Plugin Tutorials
This is a list of existing (or planned) tutorials:
- Setting up a project using the CTK Plugin Framework
- Embedding the CTK Plugin Framework in an existing application
- Starting and configuring the Framework
- Creating a new CTK Plugin
- Listen to service events
CTK Plugin Documentation
CTK provides default implementations for some OSGi specifications and other functionality.
The following list points to the sub-projects inside the CTK Plugin Framework. Sub-projects are either implementations of certain functionality in plug-ins (e.g. OSGi Compendium Service Specifications) or distinct functionality inside the CTK Plugin Framework library.
OSGi Compendium Services
- MetaType Service
- Event Admin (local event bus)
- Event Admin (remote event bus)
- Config Admin
- Log Service
API Documentation
The API documentation is also a good place to learn more about the CTK Plugin Framework capabilities.
OSGi Tutorials
There are many OSGi tutorials for the major OSGi frameworks (Equinox, Knopflerfish, and Apache Felix) on the web. The principles are the same and can be applied to CTK.
You may also want to read Neil Bartlett's free book on OSGi, which is available as a preview draft. You can skip the first 20 pages about Java class dependencies and read the rest of Part I. Basically everything described in Part I applies to the CTK Plugin Framework.
Specifications
The original OSGi specifications are a great read for detailed technical information about the plugin framework itself and the provided interfaces and implementations for the compendium services. The CTK Plugin Framework is based on OSGi Release 4 Version 4.2, with some API inspired by the upcoming Version 4.3.