Interface Context
-
- All Known Implementing Classes:
DefaultContext
public interface Context
A context to be used in subcomponents. The general idea of Context/Contextualizable was taken from Jakarta's Avalon framework.- See Also:
Contextualizable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
get(java.lang.String key)
Searches for the value with the specified attribute key in this context.java.util.Collection<java.lang.String>
getAttributeNames()
Returns the names of all attributes of this context.
-
-
-
Method Detail
-
get
java.lang.Object get(java.lang.String key)
Searches for the value with the specified attribute key in this context.- Parameters:
key
- the attribute key.- Returns:
- the value in this context with the specified attribute key value.
-
getAttributeNames
java.util.Collection<java.lang.String> getAttributeNames()
Returns the names of all attributes of this context.- Returns:
- the names of all attributes of this context.
-
-