public class AssignmentProducerNode extends ProducerNodeDecorator {
private String key;
- private String bundleIdentifier;
private Object value;
public AssignmentProducerNode(String aKey, Object aValue, ProducerNode aSubNode) {
}
public void produce(Map aValueMap, String aVerb, LoggerWrapper aLogger) throws ProducerFailure {
+ }
+
+ public void produce(ProductionContext aProductionContext) throws ProducerExc, ProducerFailure {
try {
- ParameterExpander.setValueForKey(aValueMap, key, value);
+ ParameterExpander.setValueForKey(aProductionContext.getValueSet(), key, value);
- super.produce(aValueMap, aVerb, aLogger);
+ super.produce(aProductionContext);
}
catch (Throwable t) {
throw new ProducerFailure(t.getMessage(), t);
}
- };
+ }
}
\ No newline at end of file