Author: asoldano
Date: 2014-03-05 05:50:40 -0500 (Wed, 05 Mar 2014)
New Revision: 18462
Modified:
container/jboss72/branches/jbossws-jboss720/server-integration/src/main/java/org/jboss/as/webservices/dmr/WSSubsystemAdd.java
Log:
[WFLY-3061] Use readResourceFromRoot(PathAddress address, boolean recursive)
Modified:
container/jboss72/branches/jbossws-jboss720/server-integration/src/main/java/org/jboss/as/webservices/dmr/WSSubsystemAdd.java
===================================================================
---
container/jboss72/branches/jbossws-jboss720/server-integration/src/main/java/org/jboss/as/webservices/dmr/WSSubsystemAdd.java 2014-03-05
10:14:36 UTC (rev 18461)
+++
container/jboss72/branches/jbossws-jboss720/server-integration/src/main/java/org/jboss/as/webservices/dmr/WSSubsystemAdd.java 2014-03-05
10:50:40 UTC (rev 18462)
@@ -137,7 +137,7 @@
}
private static boolean isJMXSubsystemAvailable(final OperationContext context) {
- Resource root =
context.readResourceFromRoot(PathAddress.pathAddress(PathAddress.EMPTY_ADDRESS));
+ Resource root =
context.readResourceFromRoot(PathAddress.pathAddress(PathAddress.EMPTY_ADDRESS), false);
return root.hasChild(PathElement.pathElement(SUBSYSTEM,
JMXExtension.SUBSYSTEM_NAME));
}
}