| org.araneaframework.Environment
All known Subclasses: org.araneaframework.core.BaseEnvironment,
Environment | public interface Environment extends Serializable(Code) | | A special data structure providing encapsulation of data needed by different components.
Every Aranea component has an environment. The environment can be inhereted from the parent
or be standalone. No component knows from which component the Environment comes from.
Component does know about the hooks in the environment. As different contexts are added to
the environment the component in need of them is reponsible of checking them and acting upon
them.
author: "Toomas Römer" author: Jevgeni Kabanov (ekabanov at araneaframework dot org) |
Field Summary | |
final public static String | ENVIRONMENT_KEY The key that can be used to retrieve Environment (as an example a request scope attribute). |
ENVIRONMENT_KEY | final public static String ENVIRONMENT_KEY(Code) | | The key that can be used to retrieve Environment (as an example a request scope attribute).
since: 1.1 |
getEntry | public Object getEntry(Object key)(Code) | | Returns the entry with the specified key from this Environment.
Returns null if the entry is not present in the environment.
|
|
|