* @param key name of the slice to be created
* @param original a set of properties.
* @return a newly configured slice
*/
private Slice newSlice(String key, Map original) {
JDBCConfiguration child = new JDBCConfigurationImpl();
child.fromProperties(createSliceProperties(original, key));
child.setId(getId()+DOT+key);
setDiagnosticContext(child);
child.setMappingDefaults(this.getMappingDefaultsInstance());
child.setDataCacheManager(this.getDataCacheManagerInstance());
child.setMetaDataRepository(this.getMetaDataRepositoryInstance());
Slice slice = new Slice(key, child);
Log log = getConfigurationLog();
if (log.isTraceEnabled())
log.trace(_loc.get("slice-configuration", key, child
.toProperties(false)));
return slice;
}