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

[jira] Created: (FELIX-2624) Support multiple whiteboards using annotations

Support multiple whiteboards using annotations
----------------------------------------------

                 Key: FELIX-2624
                 URL: https://issues.apache.org/jira/browse/FELIX-2624
             Project: Felix
          Issue Type: Improvement
          Components: iPOJO
    Affects Versions: iPOJO-1.6.0
            Reporter: Peter Donald
            Priority: Minor
             Fix For: iPOJO-1.8.0


The @Wbp() annotation can only be applied once to a class. It would be nice to support multiple @Wbp annotations via something such as


@Whiteboards({@Wbp(...), @Wbp(...), @Wbp(...), @Wbp(...)}
public class My Class {...}

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


[jira] Resolved: (FELIX-2624) Support multiple whiteboards using annotations

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

Clement Escoffier resolved FELIX-2624.
--------------------------------------

    Resolution: Fixed

> Support multiple whiteboards using annotations
> ----------------------------------------------
>
>                 Key: FELIX-2624
>                 URL: https://issues.apache.org/jira/browse/FELIX-2624
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.6.0
>            Reporter: Peter Donald
>            Priority: Minor
>             Fix For: iPOJO-1.8.0
>
>
> The @Wbp() annotation can only be applied once to a class. It would be nice to support multiple @Wbp annotations via something such as
> @Whiteboards({@Wbp(...), @Wbp(...), @Wbp(...), @Wbp(...)}
> public class My Class {...}

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


[jira] Commented: (FELIX-2624) Support multiple whiteboards using annotations

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

Clement Escoffier commented on FELIX-2624:
------------------------------------------

I've added a @Whiteboards annotation allowing to configure several whiteboards such as in:
@Component
@Whiteboards(whiteboards={
    @Wbp(filter="(foo=true)", onArrival="onArrival", onDeparture="onDeparture"),
    @Wbp(filter="(foo=true)", onArrival="onArrival", onDeparture="onDeparture", onModification="onModification")
})
public class MyClass {
 //...
}

> Support multiple whiteboards using annotations
> ----------------------------------------------
>
>                 Key: FELIX-2624
>                 URL: https://issues.apache.org/jira/browse/FELIX-2624
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.6.0
>            Reporter: Peter Donald
>            Priority: Minor
>             Fix For: iPOJO-1.8.0
>
>
> The @Wbp() annotation can only be applied once to a class. It would be nice to support multiple @Wbp annotations via something such as
> @Whiteboards({@Wbp(...), @Wbp(...), @Wbp(...), @Wbp(...)}
> public class My Class {...}

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