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 Object
get(String key)
Searches for the value with the specified attribute key in this context.Collection<String>
getAttributeNames()
Returns the names of all attributes of this context.
-
-
-
Method Detail
-
get
Object get(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
Collection<String> getAttributeNames()
Returns the names of all attributes of this context.- Returns:
- the names of all attributes of this context.
-
-