org.apache.tapestry.enhance
Class InjectMetaWorker
java.lang.Object
org.apache.tapestry.enhance.InjectMetaWorker
- All Implemented Interfaces:
- InjectEnhancementWorker
public class InjectMetaWorker
- extends Object
- implements InjectEnhancementWorker
Injects meta data obtained via ComponentPropertySource
(meaning that meta-data is searched for in the component's specification, then it's namespace
(library or application specification), then the global application properties.
- 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 |
InjectMetaWorker
public InjectMetaWorker()
performEnhancement
public void performEnhancement(EnhancementOperation op,
InjectSpecification spec)
- 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.spec
- The injection specificiation configuration.
injectMetaValue
public void injectMetaValue(EnhancementOperation op,
String propertyName,
String metaKey,
org.apache.hivemind.Location location)
setSource
public void setSource(ComponentPropertySource source)
setValueConverter
public void setValueConverter(ValueConverter valueConverter)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.