JDK-8043973 : Provide API to parse deployment rulesets from XML
  • Type: Enhancement
  • Component: deploy
  • Affected Version: 8u20
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2014-05-26
  • Updated: 2014-06-03
  • Resolved: 2014-05-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8u20Resolved
Related Reports
Duplicate :  
Relates :  
Description
This is a request from DRSTool team.

One of the features DRSTool should provide is importing DRS from existing rulset.xml or DeploymentRuleSet.jar files. It should be done using DRS parser from deploy code. It can look like

DeploymentRuleSet parseDRS(InputStream in);

Comments
this functionality is included in fix for 8031993 - so closing as a dupe
30-05-2014

This may be closed as dupe of https://bugs.openjdk.java.net/browse/JDK-8031993 if solution for this is included in that impl interface is in DRSHelper, constructor will parse an xml file or input stream. method getRules() will be added, so the above becomes: (new DRSHelper(inputStream is)).getRules();
28-05-2014