Info Descriptor

Nested Elements

Element Occurance Description
name 1 The name of the component type.
version 0..1 The component type implementation version.
lifestyle 0..1 Declaration of the component lifestyle. May contain one of the reconized values "singleton", "thread", "pooled", or "transient".
attributes 0..1 Declaration of a set of attributes associated with the component type.

Description

The org.apache.avalon.meta.info.infoDescriptor class describes the component type name, version, and optionally a set of attributes.

Example XML

  <info>
    <name>test</info>
    <version>1.0</version>
    <lifestyle>singleton</lifestyle>
    <attributes>
      <attribute key="about" value="An example attribute."/>
      <attribute key="status" value="FINAL"/>
    </attributes>
  </info>