Javadoc TagsVersion TagA version tag may be declared in either a class or interface. It specifices the version of the component or service (depeding if the tag is included within a class or interface). The presence of a version tag signals to the generation tools that a meta-info description is required. In the case of a class, a Type defintion is created whereas an version tag in an interface will result in the generation of a Service descriptor. package net.osm; /** * Example of a version declaration defintion. The service tag is * required in order to generate a <classname>.xservice definition * or <classname>.xinfo type descriptor. * * @avalon.service version="1.3" */ public interface MyService { ... } Generated meta-info when declared within an interface: <service> <version>1.3.0<version> </service> Generated meta-info when declared within an class: <type> <info> <version>1.3.0<version> </info> </type> |