// maps to a specific datasource
DMRMapping singleDataSource = new DMRMapping()
.setAddress("/{selected.profile}/subsystem=datasources/data-source={selected.entity}");
Mapping tableMapping = new DMRMapping()
.addAttributes("entity.key","jndi-name", "enabled");
Mapping basicAttributesMapping = new DMRMapping()
.addAttributes("entity.key", "jndi-name", "enabled", "datasource-class", "driver-name", "share-prepared-statements",
"prepared-statements-cache-size");
Mapping connectionAttributesMapping = new DMRMapping()
.addAttributes("connection-url", "new-connection-sql", "transaction-isolation", "jta", "use-ccm");
// UI
InteractionUnit root = new Builder()
.start(new Container<StereoTypes>(namespace, "datasources", "Datasources", Choice, EditorPanel))