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

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

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


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.


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

Posted by Clement Escoffier <cl...@gmail.com>.
On 12.07.2009, at 11:57, 양봉열 wrote:

> Thanks, but where can I receive iPOJO 1.4.0? Is it in svn trunk only?

It's in the svn trunk for the time begin. I can deploy a snapshot  
version if you want.
The 1.4.0 is not release yet. We're finalizing the release (our  
process is a little bit complex as we test everything on 7 different  
virtual machines and on 3 OSGi implementations).

Clement


> 2009/7/12 Clement Escoffier (JIRA) <ji...@apache.org>
>
>>
>>    [
>> https://issues.apache.org/jira/browse/FELIX-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel 
>> ]
>>
>> Clement Escoffier updated FELIX-1318:
>> -------------------------------------
>>
>>   Fix Version/s: iPOJO-1.4.0
>>
>>> 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
>>>            Fix For: iPOJO-1.4.0
>>>
>>>
>>> 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.
>>
>>


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

Posted by 양봉열 <xe...@nchovy.com>.
Thanks, but where can I receive iPOJO 1.4.0? Is it in svn trunk only?
2009/7/12 Clement Escoffier (JIRA) <ji...@apache.org>

>
>     [
> https://issues.apache.org/jira/browse/FELIX-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Clement Escoffier updated FELIX-1318:
> -------------------------------------
>
>    Fix Version/s: iPOJO-1.4.0
>
> > 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
> >             Fix For: iPOJO-1.4.0
> >
> >
> > 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.
>
>

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

Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clement Escoffier updated FELIX-1318:
-------------------------------------

    Fix Version/s: iPOJO-1.4.0

> 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
>             Fix For: iPOJO-1.4.0
>
>
> 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.


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

Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clement Escoffier reassigned FELIX-1318:
----------------------------------------

    Assignee: Clement Escoffier

> 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.


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

Posted by "YANG, BongYeol (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730062#action_12730062 ] 

YANG, BongYeol edited comment on FELIX-1318 at 7/12/09 3:26 AM:
----------------------------------------------------------------

It works! Thanks for fast response.

      was (Author: xeraph):
    It worked! Thanks for fast response.
  
> 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
>             Fix For: iPOJO-1.4.0
>
>
> 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.


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

Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "YANG, BongYeol (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YANG, BongYeol closed FELIX-1318.
---------------------------------


It worked! Thanks for fast response.

> 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
>             Fix For: iPOJO-1.4.0
>
>
> 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.