org.apache.tapestry.enhance
Class InjectObjectWorker
java.lang.Object
org.apache.tapestry.enhance.InjectObjectWorker
- All Implemented Interfaces:
- InjectEnhancementWorker
- public class InjectObjectWorker
- extends java.lang.Object
- implements InjectEnhancementWorker
Implementation for injection type "object" (the default). Adds read-only properties to the
enhanced class that contain objects injected from HiveMind.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InjectObjectWorker
public InjectObjectWorker()
performEnhancement
public void performEnhancement(EnhancementOperation op,
InjectSpecification is)
- Description copied from interface:
InjectEnhancementWorker
- Perform the enhancement defined by the
InjectSpecification
.
Thrown runtime exceptions are caught and reported by the invoker.
- Specified by:
performEnhancement
in interface InjectEnhancementWorker
injectObject
public void injectObject(EnhancementOperation op,
java.lang.String objectReference,
java.lang.String propertyName,
org.apache.hivemind.Location location)
setProvider
public void setProvider(InjectedValueProvider provider)