Documentation/CTK Plugin Framework: Getting Started: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
'''This page is not updated anymore. Please go to [[Documentation/Plugin_Framework]]''' | |||
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. | 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. | ||
Latest revision as of 07:59, 28 November 2011
Home < Documentation < CTK Plugin Framework: Getting StartedThis page is not updated anymore. Please go to Documentation/Plugin_Framework
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 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 [ Chapter 105, Service Compendium Version 4.2 ]
- Event Admin (local event bus) [ Chapter 113, Service Compendium Version 4.2 ]
- Event Admin (remote event bus) [ Chapter 113, Service Compendium Version 4.2 ]
- Config Admin [ Chapter 104, Service Compendium Version 4.2 ]
- Log Service [ Chapter 101, Service Compendium Version 4.2 ]
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.