Hi Justin,
I just noticed today that the Java Broker Plugin API has changed to need overridden getType() method in instances of PluginFactory.

I raised QPID-5005 and fixed this on trunk with:

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've just checked the 0.24 release branch and that barfs with

"QmfManagementFactory is not abstract and does not override abstract method getType() in org.apache.qpid.server.plugin.Pluggable

"


Actually on 0.24 I seem to be getting a couple of other errors :-(

"ins-management-qmf2/java/org/apache/qpid/server/qmf2/QmfManagementAgent.java:172: cannot find symbol
[javac] symbol : class Session
[javac] location: package org.apache.qpid.server.qmf2.agentdata
[javac] _agent.registerObjectClass(org.apache.qpid.server.qmf2.agentdata.Session.getSchema());
[javac] ^
[javac] /home/fadams/qpid/qpid-0.24/qpid/tools/src/java/src/qpid-broker-plugins-management-qmf2/java/org/apache/qpid/server/qmf2/QmfManagementAgent.java:374: cannot find symbol
[javac] symbol : class Session
[javac] location: package org.apache.qpid.server.qmf2.agentdata
[javac] data = new org.apache.qpid.server.qmf2.agentdata.Session((Session)child, ref.getObjectId());
[javac]

"

Which I don't seem to be getting on trunk - there might be some differences to some of the stuff Robbie and Rob have been working on between trunk and 0.24.


Frase






---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to