[rhq] modules/plugins

Simeon Pinder spinder at fedoraproject.org
Tue Aug 7 15:13:49 UTC 2012


 modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/ModuleOptionsComponent.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 00b1ee491e609c660113866e834668d0c1c6f3bc
Author: Simeon Pinder <spinder at fulliautomatix.conchfritter.com>
Date:   Tue Aug 7 11:05:07 2012 -0400

     [BZ 839552] passed in the wrong configuration when overriding behavior for SecurityDomain as7 nodes.

diff --git a/modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/ModuleOptionsComponent.java b/modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/ModuleOptionsComponent.java
index d486542..a4dccd0 100644
--- a/modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/ModuleOptionsComponent.java
+++ b/modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/ModuleOptionsComponent.java
@@ -474,7 +474,7 @@ public class ModuleOptionsComponent extends BaseComponent implements Configurati
     public void updateResourceConfiguration(ConfigurationUpdateReport report) {
         //determine the component
         ResourceType resourceType = context.getResourceType();
-        ConfigurationDefinition configDef = resourceType.getPluginConfigurationDefinition();
+        ConfigurationDefinition configDef = context.getResourceType().getResourceConfigurationDefinition();
         Set<ResourceType> nodeParentTypes = context.getResourceType().getParentResourceTypes();
         ResourceType parentType = (ResourceType) nodeParentTypes.toArray()[0];
         ResourceType grandParentType = (ResourceType) parentType.getParentResourceTypes().toArray()[0];




More information about the rhq-commits mailing list