link
Avalon
Javadoc Tag Specification
Home PlanetProductsCentral
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.

Attributes
AttributeRequiredDescription

id

yes

A value (normally a urn) that identifies the extension.

Example
package net.osm.vault;

/**
 * Example of a component declaring a stage handling capability.
 *
 * @avalon.component version="0.1" name="handler"
 * @avalon.extension id="urn:somewhere:demonstratable"
 */
public class DemoExtension
{
  ...
}

Generated meta-info type descriptor:

<type>
  <info>
    <version>0.1.0</version>
    <name>handler</name>
  </info>
  <extensions>
    <extension id="urn:somewhere:demonstratable"/>
  </extensions>
</type>