Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Coming soon...

Packaging

A composite component type is described in the metadata.xml file of an iPOJO bundle. It , like all iPOJO components. Also like all iPOJO components, it is possible to create an instance of the composition composite in this the metadata file, such:

Code Block
<instance component="Hello" name="hello-composition"/>

 To To avoid packages packaging issues, all used "specification" referenced service specifications are imported by the bundle containing the compositioncomposite.

Runtime

Imagine that at runtime you have:

  • Two factories that can create Hello service providersprovider instances.
  • A factory that can create Dispatch Dispatcher service providersprovider instances.
  • A factory that can create Directory service  providersprovider instances.
  • Several existing Person servicesservice instances.

When you deploy the composition, iPOJO will manage your application:

...