[rhq] Branch 'release/jon3.1.x' - modules/plugins
snegrea
snegrea at fedoraproject.org
Fri Aug 17 16:21:01 UTC 2012
modules/plugins/jboss-as-5/src/main/java/org/rhq/plugins/jbossas5/helper/CreateChildResourceFacetDelegate.java | 13 ++++++++++
1 file changed, 13 insertions(+)
New commits:
commit 2e4713e24ff482c937eabeefe7eb690461c479a6
Author: Stefan Negrea <snegrea at redhat.com>
Date: Fri Aug 17 11:20:53 2012 -0500
[BZ 848800] Adding back old constructor signature for backwards compatibility reasons. Marked the old constructor as deprecated.
(cherry picked from commit 32ad4e17b0f75fcccb84107e01956a519175670f)
diff --git a/modules/plugins/jboss-as-5/src/main/java/org/rhq/plugins/jbossas5/helper/CreateChildResourceFacetDelegate.java b/modules/plugins/jboss-as-5/src/main/java/org/rhq/plugins/jbossas5/helper/CreateChildResourceFacetDelegate.java
index af18723..c5e85bb 100644
--- a/modules/plugins/jboss-as-5/src/main/java/org/rhq/plugins/jbossas5/helper/CreateChildResourceFacetDelegate.java
+++ b/modules/plugins/jboss-as-5/src/main/java/org/rhq/plugins/jbossas5/helper/CreateChildResourceFacetDelegate.java
@@ -59,6 +59,19 @@ public class CreateChildResourceFacetDelegate implements CreateChildResourceFace
this.parentResourceContext = parentResourceContext;
}
+ /**
+ * @deprecated This constructor is deprecated because it does not handle properly the SHA256 computation for
+ * exploded content. If used, this constructor will lead to a calculation of the SHA256 for exploded content
+ * based on exploded files. This method of computation is not preferred due to changes in content archive
+ * matching. Replaced by (@link {@link #CreateChildResourceFacetDelegate(ProfileServiceComponent, ResourceContext)}
+ *
+ * @param component component
+ */
+ @Deprecated
+ public CreateChildResourceFacetDelegate(ProfileServiceComponent component) {
+ this.component = component;
+ }
+
public CreateResourceReport createResource(CreateResourceReport createResourceReport) {
// ProfileServiceFactory.refreshCurrentProfileView();
ResourceType resourceType = createResourceReport.getResourceType();
More information about the rhq-commits
mailing list