You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/19 13:30:48 UTC

[jira] [Commented] (QPID-5005) Java Broker Plugin API has changed to need overridden getType() method in instances of PluginFactory

    [ https://issues.apache.org/jira/browse/QPID-5005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713565#comment-13713565 ] 

ASF subversion and git services commented on QPID-5005:
-------------------------------------------------------

Commit 1504839 from [~fadams] in branch 'qpid/trunk'
[ https://svn.apache.org/r1504839 ]

JIRA: QPID-5005 The Java Broker Plugin API has changed to need overridden getType() method in instances of PluginFactory. This commit adds getType() to QmfManagementFactory.java
                
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org