Import Directive

Description

A context import directive is used to map a standard container context entry to a component context entry.

Attributes

Attribute Required Description
key yes The container scoped context key to import into the component scope. The imported key must be know by the container. Once established, the value will be imported against the component key declared in the enclosing entry tag.

Sample XML

   <profile name="basic">
     <context class="org.apache.avalon.playground.basic.BasicContextImp">
       <entry key="home">
         <import name="urn:avalon:home"/>
       </entry>
     </context>
   </profile>