org.apache.tapestry.enhance
Class InjectStateWorker
java.lang.Object
|
+--org.apache.tapestry.enhance.InjectStateWorker
- All Implemented Interfaces:
- EnhancementWorker
- public class InjectStateWorker
- extends java.lang.Object
- implements EnhancementWorker
Worker for injecting application state objects as properties of the component. These properties
are read/write and must be "live" (changes are propogated back into the
ApplicationStateManager
). They should also cache in a
local variable for efficiency, and clear out that variable at the end of the request.
- Since:
- 3.1
- Author:
- Howard M. Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InjectStateWorker
public InjectStateWorker()
performEnhancement
public void performEnhancement(EnhancementOperation op,
IComponentSpecification spec)
- Specified by:
performEnhancement
in interface EnhancementWorker
setApplicationStateManager
public void setApplicationStateManager(ApplicationStateManager applicationStateManager)
setErrorLog
public void setErrorLog(org.apache.hivemind.ErrorLog errorLog)