public class InjectMetaWorker extends java.lang.Object implements InjectEnhancementWorker
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.Constructor and Description |
---|
InjectMetaWorker() |
Modifier and Type | Method and Description |
---|---|
void |
injectMetaValue(EnhancementOperation op,
java.lang.String propertyName,
java.lang.String metaKey,
org.apache.hivemind.Location location) |
void |
performEnhancement(EnhancementOperation op,
InjectSpecification spec)
Perform the enhancement defined by the
InjectSpecification . |
void |
setSource(ComponentPropertySource source) |
void |
setValueConverter(ValueConverter valueConverter) |
public InjectMetaWorker()
public void performEnhancement(EnhancementOperation op, InjectSpecification spec)
InjectEnhancementWorker
InjectSpecification
.
Thrown runtime exceptions are caught and reported by the invoker.performEnhancement
in interface InjectEnhancementWorker
public void injectMetaValue(EnhancementOperation op, java.lang.String propertyName, java.lang.String metaKey, org.apache.hivemind.Location location)
public void setSource(ComponentPropertySource source)
public void setValueConverter(ValueConverter valueConverter)