Javadoc Tags

Extension Tag

Lifecycle stages are resolved through the establishment of a component capable of service the stage dependency. Component types declare this ability through the extension tag.

package net.osm.vault;

/**
 * Example of a component declaring a stage handling capability.
 *
 * @avalon.meta.version 0.1
 * @avalon.meta.name handler
 * @avalon.meta.extension type="org.apache.avalon.plyground.Demonstratable"
 */
public class DemoExtension
{
  ...
}

Generated meta-info type descriptor:

<type>
  <info>
    <version>0.1.0</version>
    <name>handler</name>
  </info>
  <extensions>
    <extension type="org.apache.avalon.plyground.Demonstratable" version="1.0.0"/>
  </extensions>
</type>