if (deployExploded && this.parentResourceContext != null) {
URI deploymentURI = URI.create(deploymentName);
// e.g.: /C:/opt/jboss-6.0.0.Final/server/default/deploy/foo.war
String deploymentPath = deploymentURI.getPath();
File deploymentFile = new File(deploymentPath);
FileContentDelegate fileContentDelegate = new FileContentDelegate();
fileContentDelegate.saveDeploymentSHA(archiveFile, deploymentFile,
parentResourceContext.getFutureChildResourceDataDirectory(archiveName));
}
// Reload the management view to pickup the ManagedDeployment for the app we just deployed.
ManagementView managementView = this.profileServiceConnection.getManagementView();