Introduction
Meta information associated with component types can be expressed directly in XML or documented in javadoc tags within the component source code. The javadoc tag approach ensures that specifications are maintain with respective sources. Generation of meta info is achieved through a meta-info generation tool. Tools are provided for both Ant and Maven.
Tag List
Tag | Scope | Description |
---|---|---|
@avalon.component | class | Identifies a class as a component implementation and the requirement for the generation of a component type descriptor. |
@avalon.attribute | class | Declaration of an attribute name and value to be associated with a component type info descriptor. |
@avalon.service | class | Declaration by a component of a exported service that may be used by a container when fulfilling the service dependencies exposed by other components. |
@avalon.stage | class | Declaration of a lifecycle stage dependency. |
@avalon.extension | class | Declaration of the export of a lifecycle stage handling capability that may be used by a container when resolving lifecycle stage dependencies. |
@avalon.logger | method | Declaration of a child logging channel name used by the component. |
@avalon.configuration | method | Declaration of a configuration validation schema. |
@avalon.context | method | Declares of a specialized context interface. |
@avalon.entry | method | Declaration of a context entry dependency. |
@avalon.dependency | method | Declaration of a service dependency. |