if (context.isNormalServer()) {
PathAddress addr = PathAddress.pathAddress(operation.get(OP_ADDR));
Resource resource = context.getOriginalRootResource();
for (PathElement element : addr) {
resource = resource.getChild(element);
<BUG>}
DataSourceEnable.addServices(context, operation, null, Resource.Tools.readModel(resource), isXa(), new LinkedList<ServiceController<?>>());
}</BUG>
}
public boolean isXa() {

if (context.isNormalServer()) {
PathAddress addr = PathAddress.pathAddress(operation.get(OP_ADDR));
Resource resource = context.getOriginalRootResource();
for (PathElement element : addr) {
resource = resource.getChild(element);
}
DataSourceEnable.addServices(context, operation, null, datasourceRegistration,
Resource.Tools.readModel(resource), isXa(), new LinkedList<ServiceController<?>>());
}
}
public boolean isXa() {
