You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David GAY (JIRA)" <ji...@apache.org> on 2010/09/10 15:41:32 UTC

[jira] Created: (FELIX-2594) Have a way to create new custom iPojo handler without having to specify a handler usage

Have a way to create new custom iPojo handler without having to specify a handler usage
---------------------------------------------------------------------------------------

                 Key: FELIX-2594
                 URL: https://issues.apache.org/jira/browse/FELIX-2594
             Project: Felix
          Issue Type: Improvement
          Components: iPOJO
    Affects Versions: iPOJO-1.6.0
         Environment: Windows / Java 6
            Reporter: David GAY


I would like to create a new iPojo handler but without having to define the handler usage in metadata.

What could be achieve with that, is an optional service method interceptor handler to compute some metrics and/or check some security policies for example. But I don't want developers have to explicitly set the handler usage.


--- FYI : this is the original question & answer from the felix mailing list :
http://old.nabble.com/iPojo-customer-handler-to29653865.html

Thanks.
David G.

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


[jira] Updated: (FELIX-2594) Have a way to create new custom iPojo handler without having to specify a handler usage

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

Clement Escoffier updated FELIX-2594:
-------------------------------------

         Assignee: Clement Escoffier
    Fix Version/s: iPOJO-1.8.0

> Have a way to create new custom iPojo handler without having to specify a handler usage
> ---------------------------------------------------------------------------------------
>
>                 Key: FELIX-2594
>                 URL: https://issues.apache.org/jira/browse/FELIX-2594
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.6.0
>         Environment: Windows / Java 6
>            Reporter: David GAY
>            Assignee: Clement Escoffier
>             Fix For: iPOJO-1.8.0
>
>
> I would like to create a new iPojo handler but without having to define the handler usage in metadata.
> What could be achieve with that, is an optional service method interceptor handler to compute some metrics and/or check some security policies for example. But I don't want developers have to explicitly set the handler usage.
> --- FYI : this is the original question & answer from the felix mailing list :
> http://old.nabble.com/iPojo-customer-handler-to29653865.html
> Thanks.
> David G.

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


[jira] Commented: (FELIX-2594) Have a way to create new custom iPojo handler without having to specify a handler usage

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

Clement Escoffier commented on FELIX-2594:
------------------------------------------

I've added this feature. It allows to auto-attach primitive handlers to primitive components.
Handlers can be auto-attached if they are contained in the 'org.apache.felix.ipojo.handler.auto.primitive' system property. This property's value must be the list (command separated) of full handler name (naemspace:name).
For examples:
- "org.apache.felix.ipojo.test.handler.checkservice:check"
- "org.apache.felix.ipojo.test.handler.checkservice:check,  org.apache.felix.ipojo.test.handler.bla:bla"

The system property is read when the factory is created, so when the bundle containing the component type is started. To add a new auto-attached handler, the property needs to be updated, and the bundles (declaring component types) restarted.

If a missing handler is added, the factories will be invalid.

> Have a way to create new custom iPojo handler without having to specify a handler usage
> ---------------------------------------------------------------------------------------
>
>                 Key: FELIX-2594
>                 URL: https://issues.apache.org/jira/browse/FELIX-2594
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.6.0
>         Environment: Windows / Java 6
>            Reporter: David GAY
>            Assignee: Clement Escoffier
>             Fix For: iPOJO-1.8.0
>
>
> I would like to create a new iPojo handler but without having to define the handler usage in metadata.
> What could be achieve with that, is an optional service method interceptor handler to compute some metrics and/or check some security policies for example. But I don't want developers have to explicitly set the handler usage.
> --- FYI : this is the original question & answer from the felix mailing list :
> http://old.nabble.com/iPojo-customer-handler-to29653865.html
> Thanks.
> David G.

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


[jira] Resolved: (FELIX-2594) Have a way to create new custom iPojo handler without having to specify a handler usage

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

Clement Escoffier resolved FELIX-2594.
--------------------------------------

    Resolution: Fixed

> Have a way to create new custom iPojo handler without having to specify a handler usage
> ---------------------------------------------------------------------------------------
>
>                 Key: FELIX-2594
>                 URL: https://issues.apache.org/jira/browse/FELIX-2594
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.6.0
>         Environment: Windows / Java 6
>            Reporter: David GAY
>            Assignee: Clement Escoffier
>             Fix For: iPOJO-1.8.0
>
>
> I would like to create a new iPojo handler but without having to define the handler usage in metadata.
> What could be achieve with that, is an optional service method interceptor handler to compute some metrics and/or check some security policies for example. But I don't want developers have to explicitly set the handler usage.
> --- FYI : this is the original question & answer from the felix mailing list :
> http://old.nabble.com/iPojo-customer-handler-to29653865.html
> Thanks.
> David G.

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


[jira] Closed: (FELIX-2594) Have a way to create new custom iPojo handler without having to specify a handler usage

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

Clement Escoffier closed FELIX-2594.
------------------------------------


> Have a way to create new custom iPojo handler without having to specify a handler usage
> ---------------------------------------------------------------------------------------
>
>                 Key: FELIX-2594
>                 URL: https://issues.apache.org/jira/browse/FELIX-2594
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.6.0
>         Environment: Windows / Java 6
>            Reporter: David GAY
>            Assignee: Clement Escoffier
>             Fix For: iPOJO-1.8.0
>
>
> I would like to create a new iPojo handler but without having to define the handler usage in metadata.
> What could be achieve with that, is an optional service method interceptor handler to compute some metrics and/or check some security policies for example. But I don't want developers have to explicitly set the handler usage.
> --- FYI : this is the original question & answer from the felix mailing list :
> http://old.nabble.com/iPojo-customer-handler-to29653865.html
> Thanks.
> David G.

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


[jira] Commented: (FELIX-2594) Have a way to create new custom iPojo handler without having to specify a handler usage

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

Clement Escoffier commented on FELIX-2594:
------------------------------------------

Released in iPOJO Core 1.6.6

> Have a way to create new custom iPojo handler without having to specify a handler usage
> ---------------------------------------------------------------------------------------
>
>                 Key: FELIX-2594
>                 URL: https://issues.apache.org/jira/browse/FELIX-2594
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.6.0
>         Environment: Windows / Java 6
>            Reporter: David GAY
>            Assignee: Clement Escoffier
>             Fix For: iPOJO-1.8.0
>
>
> I would like to create a new iPojo handler but without having to define the handler usage in metadata.
> What could be achieve with that, is an optional service method interceptor handler to compute some metrics and/or check some security policies for example. But I don't want developers have to explicitly set the handler usage.
> --- FYI : this is the original question & answer from the felix mailing list :
> http://old.nabble.com/iPojo-customer-handler-to29653865.html
> Thanks.
> David G.

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