You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2009/07/12 10:15:14 UTC

[jira] Resolved: (FELIX-1318) Case mismatch problem of iPOJO custom handler name

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

Clement Escoffier resolved FELIX-1318.
--------------------------------------

    Resolution: Fixed

Fixed in the trunk.
Handlers are now selected by ignoring the case of the name and the namespace. Moreover, the HandlerDescription selection follows the same rule.

Please close if you're satisfied..

> Case mismatch problem of iPOJO custom handler name 
> ---------------------------------------------------
>
>                 Key: FELIX-1318
>                 URL: https://issues.apache.org/jira/browse/FELIX-1318
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: iPOJO-1.2.0
>         Environment: Windows 2003, JRE 1.6.0 11-b03, Felix Framework 1.6.0
>            Reporter: YANG, BongYeol
>            Assignee: Clement Escoffier
>
> In this case:
> <handler classname="org.example.handler.FooPluginHandler" name="fooplugin" namespace="org.example.handler">
> </handler>
> <component classname="org.example.plugins.ClassA" name="ComponentA" immediate="true" architecture="true">
>   <ex:FooPlugin />
> </component>
> <instance component="ComponentA" />
> iPOJO recognize handler name only if handler name is all lower case. When I changed handler name to FooPlugin, iPOJO didn't instanciate ClassA instance. I think that iPOJO should accept exact handler name or do case-insensitive match.

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