List of usage examples for org.apache.commons.collections BeanMap putAll
public void putAll(Map<? extends K, ? extends V> m)
From source file:org.bpmscript.exec.java.JavaChannel.java
/** * Dependency Injection! Wires using a beanmap... *//* w w w. j ava2 s. c om*/ @SuppressWarnings("unchecked") protected void wireDefinition() { BeanMap map = new BeanMap(definition); IDefinitionConfiguration definitionConfiguration = scriptChannel .getDefinitionConfiguration(this.definitionName); Map<String, Object> properties = definitionConfiguration.getProperties(); map.putAll(properties); if (map.containsKey("log")) { map.put("log", log); } }