Javadoc TagsComponent TagThe component tag declares a java source as a component type. The tag is a required when generating a component type descriptor. Attributes
Examplepackage org.apache.avalon.playground; /** * Example of the declaration of named component type. * * @avalon.component version="1.0" name="sample" lifestyle="singleton" */ public class DefaultComponent { ... } Generated meta-info type descriptor: <type> <info> <version>1.0.0</version> <name>sample</name> <lifestyle>singleton</lifestyle> </info> </type> |