DataSourceStatisticsListener.registerStatisticsResources(resource);
context.addStep(new OperationStepHandler() {
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
final ManagementResourceRegistration registration = context.getResourceRegistrationForUpdate();
ServiceVerificationHandler verificationHandler = new ServiceVerificationHandler();
final List<ServiceController<?>> controllers = new ArrayList<ServiceController<?>>();
addServices(context, operation, verificationHandler, registration, model, isXa(), controllers);
context.addStep(verificationHandler, Stage.VERIFY);
context.completeStep(new OperationContext.RollbackHandler() {
@Override