[ 
https://issues.apache.org/jira/browse/TUSCANY-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Sebastien Delfino resolved TUSCANY-1270.
---------------------------------------------

    Resolution: Fixed

Fixed, getProcessor is generic now

> ArtifactProcessorExtensionPoint getProcessor methods aren't generic
> -------------------------------------------------------------------
>
>                 Key: TUSCANY-1270
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1270
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-0.90
>            Reporter: ant elder
>            Assignee: Luciano Resende
>            Priority: Trivial
>             Fix For: Java-SCA-Next
>
>
> ArtifactProcessorExtensionPoint getProcessor methods aren't generic so for 
> example with a StAXArtifactProcessorExtensionPoint instance called 
> staxProcessors:
> staxProcessors.addArtifactProcessor(new MyBindingXMLProcessor());
> This does not work: MyBindingXMLProcessor p = 
> staxProcessors.getProcessor(MyXMLProcessor.class);
> It needs to be: MyBindingXMLProcessor p = (MyXMLProcessor) 
> staxProcessors.getProcessor(MyXMLProcessor.class);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to