org.apache.tapestry.enhance
Class InjectObjectWorker
java.lang.Object
org.apache.tapestry.enhance.InjectObjectWorker
- All Implemented Interfaces:
- InjectEnhancementWorker
public class InjectObjectWorker
- extends 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
- Parameters:
op
- Current enhancement context.is
- The injection specificiation configuration.
injectObject
public void injectObject(EnhancementOperation op,
String objectReference,
String propertyName,
org.apache.hivemind.Location location)
setProvider
public void setProvider(InjectedValueProvider provider)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.