private final boolean xa;
public DataSourceEnable(boolean xa) {
super();
this.xa = xa;
}
<BUG>public void execute(OperationContext context, ModelNode operation) {
final ModelNode model = context.readResourceForUpdate(PathAddress.EMPTY_ADDRESS).getModel();

if (context.isNormalServer()) {
context.addStep(new OperationStepHandler() {</BUG>
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {

private final boolean xa;
public DataSourceEnable(boolean xa) {
super();
this.xa = xa;
}
public void execute(OperationContext context, ModelNode operation) {
final ManagementResourceRegistration registration = context.getResourceRegistrationForUpdate();
final Resource resource = context.readResourceForUpdate(PathAddress.EMPTY_ADDRESS);
final ModelNode model = resource.getModel();
if (context.isNormalServer()) {
model.get(ENABLED).set(true);
DataSourceStatisticsListener.registerStatisticsResources(resource);
context.addStep(new OperationStepHandler() {
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
