Component Directive

Component Directive

In preparation.

Attributes

Attribute Required Description
name yes The name to assign to the component.
class yes The classname of the component implementation.
activation no The activation policy. Recognized values include 'startup' and 'lazy'.

Nested Elements

A component tag supports the same structure as the profile element. See the profile tag under the Meta Model XML description.

Sample XML

<container name="tutorial">

     <component name="hello" class="tutorial.HelloComponent" activation="startup">
       <!-- optional categories element -->
       <!-- optional configuration or parameters element -->
       <!-- optional context element -->
     </component>

</container>