DataInputOutput connectionAttributes = new DataInputOutput("connectionAttributes", "Connection");
connectionAttributes.setRole(Edit);
tabs.add(connectionAttributes);
// reificationStrategies steps (required)
Mapping tableMapping = new ResourceMapping("datasourceTable",
"/profile=${profile}/subsystem=datasources/data-source=*")
.addAttributes("${resource.name}", "jndi-name", "enabled");
Mapping editMapping = new ResourceMapping("datasourceForm",
"/profile=${profile}/subsystem=datasources/data-source=${datasource}")
.addAttributes("${resource.name}", "jndi-name", "enabled", "driver-name",
"share-prepared-statements", "prepared-statements-cache-size");
table.getEntityContext().addMapping(tableMapping);