Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Include Page
FELIX:apache-felix-ipojo-headerFELIX:
apache-felix-ipojo-header

...

iPOJO defines a factory for each declared component type. These factories are used to create component instances. This document presents how to declare instances inside iPOJO metadata, and and how to dynamically and configure them. The API to create, dispose and reconfigure instances is also explained.

Div
classtoc
Table of Contents
maxLevel4
minLevel2

...

...

Preliminary Concepts

Component Type

...

The principle of the ManagedServiceFactory is the same as the iPOJO Factory Service. So, you can create, dispose and reconfigure instances with the Configuration Admin. For further information, read the OSGi R4.x Compendium - Configuration Admin chapter.
Be aware that the 'updated' method is used both for instance creation (if the given configuration is new) and to reconfigure an existing instance. The 'deleted' method is used to dispose instances.

Include Page
FELIX:apache-felix-ipojo-footerFELIX:
apache-felix-ipojo-footer