Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{include:apache-felix-ipojo-header}
{html}
<div class="content">
{html}

h1. Describing your iPOJO components

_This section describes the different features supported by iPOJO. This page aims to answer to the following question: "What can I write in my iPOJO component descriptor (i.e. the metadata.xml file)?"_

{div:class=toc}
{toc:maxLevel=4|minLevel=2}
{div}

h2. Core features
Core features are provided with the iPOJO runtime bundles. You can use it directly, as soon as the iPOJO runtime is deployed.
* [How to require a service|Service Requirement Handler]
* [How to publish and provide a service|Providing OSGi services]
* [How to react to lifecycle state changes|Lifecycle Callback Handler]
* [How to description component configuration|Configuration Handler]
* [How to enable/disable instance introspection|Architecture Handler]
* [How to act on the instance state from the implementation|Controller Lifecycle Handler]

h2. Extensions
Extensions _extend_ the iPOJO model to add a specific functionality. This is made thanks to the external handler mechanism. So before using one of these features, deploy the attached external handler.

* [How to receive and send events with the Event Admin|Event Admin Handlers]
* [How to reconfigure instances with JMX|iPOJO JMX Handler]
* [How to implement an extender pattern|Extender Pattern Handler]
* [How to implement a whiteboard pattern|White Board Pattern Handler]
* [How to wait for services and inject proxies|Temporal Service Dependency]

h2. A missing functionality ?
iPOJO component model is extensible. So, you can implement your own handler managing you specific requirement. Refer the handler development guide ([How to write your own handler]) for more details.
\\
\\
{include:apache-felix-ipojo-footer}