You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "sadishkumar (Created) (JIRA)" <ji...@apache.org> on 2011/10/05 18:49:33 UTC

[jira] [Created] (FELIX-3148) ipojo - auto handlers - issue in plugging the auto-handler to a particular component ( without making any changes in POJO component)

ipojo - auto handlers - issue in plugging the auto-handler to a particular component ( without making any changes in POJO component)
------------------------------------------------------------------------------------------------------------------------------------

                 Key: FELIX-3148
                 URL: https://issues.apache.org/jira/browse/FELIX-3148
             Project: Felix
          Issue Type: Improvement
          Components: iPOJO
    Affects Versions: iPOJO-1.8.0
            Reporter: sadishkumar


To avoid the problem of attaching the Auto-handlers (which are listed in the system property) to all the component's instances unnecessarily.   To make it more specific & dynamic to particular components,

The auto-handlers can have annotations like this     "@handle (component-1, component-2,...)".
This ipojo annotations can be used by handlers to be automatically plugged into instances of the specific list of components given as parameter in the bracket (here for example:  component-1, component-2..;etc. are component names). 





--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FELIX-3148) ipojo - auto handlers - issue in plugging the auto-handler to a particular component ( without making any changes in POJO component)

Posted by "sadishkumar (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123665#comment-13123665 ] 

sadishkumar commented on FELIX-3148:
------------------------------------

Hi, 
Yes, the handler knows to which component's instances it will be plugged.

                
> ipojo - auto handlers - issue in plugging the auto-handler to a particular component ( without making any changes in POJO component)
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-3148
>                 URL: https://issues.apache.org/jira/browse/FELIX-3148
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.8.0
>            Reporter: sadishkumar
>              Labels: features
>
> To avoid the problem of attaching the Auto-handlers (which are listed in the system property) to all the component's instances unnecessarily.   To make it more specific & dynamic to particular components,
> The auto-handlers can have annotations like this     "@handle (component-1, component-2,...)".
> This ipojo annotations can be used by handlers to be automatically plugged into instances of the specific list of components given as parameter in the bracket (here for example:  component-1, component-2..;etc. are component names). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FELIX-3148) ipojo - auto handlers - issue in plugging the auto-handler to a particular component ( without making any changes in POJO component)

Posted by "Clement Escoffier (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130901#comment-13130901 ] 

Clement Escoffier commented on FELIX-3148:
------------------------------------------

Hi,

No, it was not intended to be dynamic. Please send me your document, I will read it ASAP.

Thanks
                
> ipojo - auto handlers - issue in plugging the auto-handler to a particular component ( without making any changes in POJO component)
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-3148
>                 URL: https://issues.apache.org/jira/browse/FELIX-3148
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.8.0
>            Reporter: sadishkumar
>              Labels: features
>
> To avoid the problem of attaching the Auto-handlers (which are listed in the system property) to all the component's instances unnecessarily.   To make it more specific & dynamic to particular components,
> The auto-handlers can have annotations like this     "@handle (component-1, component-2,...)".
> This ipojo annotations can be used by handlers to be automatically plugged into instances of the specific list of components given as parameter in the bracket (here for example:  component-1, component-2..;etc. are component names). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FELIX-3148) ipojo - auto handlers - issue in plugging the auto-handler to a particular component ( without making any changes in POJO component)

Posted by "Clement Escoffier (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126720#comment-13126720 ] 

Clement Escoffier commented on FELIX-3148:
------------------------------------------

Hi,

I think it would be better to avoid this relationship. For example, extending the auto-handler property format to plug handler on matching factories/component-types only. A LDAP filter could be used to write the filter.

WDYT ?
                
> ipojo - auto handlers - issue in plugging the auto-handler to a particular component ( without making any changes in POJO component)
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-3148
>                 URL: https://issues.apache.org/jira/browse/FELIX-3148
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.8.0
>            Reporter: sadishkumar
>              Labels: features
>
> To avoid the problem of attaching the Auto-handlers (which are listed in the system property) to all the component's instances unnecessarily.   To make it more specific & dynamic to particular components,
> The auto-handlers can have annotations like this     "@handle (component-1, component-2,...)".
> This ipojo annotations can be used by handlers to be automatically plugged into instances of the specific list of components given as parameter in the bracket (here for example:  component-1, component-2..;etc. are component names). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FELIX-3148) ipojo - auto handlers - issue in plugging the auto-handler to a particular component ( without making any changes in POJO component)

Posted by "sadishkumar (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128994#comment-13128994 ] 

sadishkumar commented on FELIX-3148:
------------------------------------

Hi,
If we use LDAP filter, is it possible to change the "LDAP filter String or Value" dynamically during runtime?  


If it’s not dynamic during runtime, it will not be helpful for us. But we have an alternate proposal to achieve this scenario, Can I send as a document to your email?  (only In case, it could not be dynamic)

Thanks,
Sadish

                
> ipojo - auto handlers - issue in plugging the auto-handler to a particular component ( without making any changes in POJO component)
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-3148
>                 URL: https://issues.apache.org/jira/browse/FELIX-3148
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.8.0
>            Reporter: sadishkumar
>              Labels: features
>
> To avoid the problem of attaching the Auto-handlers (which are listed in the system property) to all the component's instances unnecessarily.   To make it more specific & dynamic to particular components,
> The auto-handlers can have annotations like this     "@handle (component-1, component-2,...)".
> This ipojo annotations can be used by handlers to be automatically plugged into instances of the specific list of components given as parameter in the bracket (here for example:  component-1, component-2..;etc. are component names). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (FELIX-3148) ipojo - auto handlers - issue in plugging the auto-handler to a particular component ( without making any changes in POJO component)

Posted by "Clement Escoffier (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123516#comment-13123516 ] 

Clement Escoffier commented on FELIX-3148:
------------------------------------------

Hi,

Do you mean that the handler knows (in the code) the instances on which it will be plugged ? 
                
> ipojo - auto handlers - issue in plugging the auto-handler to a particular component ( without making any changes in POJO component)
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-3148
>                 URL: https://issues.apache.org/jira/browse/FELIX-3148
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.8.0
>            Reporter: sadishkumar
>              Labels: features
>
> To avoid the problem of attaching the Auto-handlers (which are listed in the system property) to all the component's instances unnecessarily.   To make it more specific & dynamic to particular components,
> The auto-handlers can have annotations like this     "@handle (component-1, component-2,...)".
> This ipojo annotations can be used by handlers to be automatically plugged into instances of the specific list of components given as parameter in the bracket (here for example:  component-1, component-2..;etc. are component names). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira