Hi, On 27.04.2010, at 17:17, Nicolas Delsaux wrote:
> On Tue, Apr 27, 2010 at 4:55 PM, Richard S. Hall <[email protected]> wrote: >> >> I assume it is not this easy, but are you looking for: >> >> @Requires(optional=true) >> private UIStarter[] starters; >> >> ? >> > Well, the question is .... how does it behaves when one of the > required UIStarter services is not validated ? Is this service in the > array ? What do you called not validated ? If the @Validate method throws an exception, the service will not be exposed, so not be in the array. Moreover, a component implementation class can impacts the service registration with @ServiceController (freshly released in the 1.6.0). Clement > > -- > Nicolas Delsaux > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

