|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.data.EntryDirective
A entry descriptor declares the context entry import or creation criteria for a single context entry instance.
XML
A entry may contain either (a) a single nested import directive, or (b) a single param constructor directives.
<context> <!-- option (a) nested import --> <entry key="my-home-dir"> <include key="urn:avalon:home"/> </entry> <!-- option (b) param constructors --> <entry key="title"> <param>Lord of the Rings</> </entry> <entry key="home"> <param class="java.io.File">../home</param> </entry> </context>
ImportDirective
,
Parameter
,
ContextDirective
,
Serialized FormConstructor Summary | |
EntryDirective(String key)
Creation of a new entry directive using a import directive. |
Method Summary | |
String |
getKey()
Return the context key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EntryDirective(String key)
key
- the entry keyMethod Detail |
public String getKey()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |