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

Reply via email to