XML
///A component element declares the profile to be applied during the instantiation /// of a component type. It includes a name and class declaration, logging directives /// (resolved relative to the component's container), context creation criteria, /// together with configuration or parameters information.
/// ////// <!-- /// Declaration of the services hosted by this container. Service container here /// will be managed relative to other provider components at the same level and /// may be serviced by components declared in parent container. /// --> /// <component name="complex" class="org.apache.excalibur.playground.ComplexComponent" activation="startup"> /// <!-- /// Priority and target assignments for component specific logging categrories. /// --> /// <categories priority="DEBUG"> /// <category name="init" priority="DEBUG" /> /// </categories> /// <!-- /// Context entry directives are normally only required in the case where the component /// type declares a required context type and entry values. Generally speaking, a component /// will normally qualify it's instantiation criteria through a configuration declaration. /// Any context values defined at this level will override context values supplied by the /// container. The following two context directives for "location" and "home" demonstrate /// programatics creation of context values. The first entry declares that the context /// value to be assigned to the key "location" shall be the String value "Paris". The second /// context enty assignes the container's context value for "urn:avalon:home" to the component's /// context key of "home". /// --> /// <context> /// <entry key="location">Paris</entry> /// <include name="urn:avalon:home" key="home"/> /// </context> /// <!-- /// Apply the following configuration when instantiating the component. This configuration /// will be applied as the primary configuration in a cascading configuration chain. A /// type may declare a default configuration under a "classname".xconfig file that will be /// used to dereference any configuration requests not resolvable by the configuration /// supplied here. /// --> /// <configuration> /// <message value="Hello"/> /// </configuration> /// <!-- /// The parameterization criteria from this instance of the component type. /// --> /// <parameters/> /// </component> ////// /// ///