Fraser Adams created QPID-5005:
----------------------------------

             Summary: Java Broker Plugin API has changed to need overridden 
getType() method in instances of PluginFactory
                 Key: QPID-5005
                 URL: https://issues.apache.org/jira/browse/QPID-5005
             Project: Qpid
          Issue Type: Improvement
          Components: Java Tools
            Reporter: Fraser Adams
            Priority: Critical
             Fix For: 0.24


The Java Broker Plugin API has changed to need overridden getType() method in 
instances of PluginFactory.

This change caused the QMF2 plugin for the Java broker in /qpid/tools/src/java 
to break. The following patch fixes it.



--- 
qpid/tools/src/java/src/qpid-broker-plugins-management-qmf2/java/org/apache/qpid/server/qmf2/QmfManagementFactory.java
      (revision 1504825)
+++ 
qpid/tools/src/java/src/qpid-broker-plugins-management-qmf2/java/org/apache/qpid/server/qmf2/QmfManagementFactory.java
      (working copy)
@@ -76,4 +76,10 @@
             return null;
         }
     }
+
+    @Override
+    public String getType()
+    {
+        return "QMF2 Management";
+    }
 }


I'll commit the fix to trunk, but I'm guessing that the Java broker changes 
that caused this to happen might mean that it's broken on the 0.24 release 
branch too.




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to