[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Influencing component start with DS

Imagine a scenario where a service component should only start if certain environment 
criteria is met. One way to handle this would be that the criteria is represented as 
a property in the component meta-data and the component can use it at runtime to decide
to shut itself down if the criteria is not met. The downside of such approach is that 
the component code is now contaminated with the criteria. 

Is there a mechanism that allows to plug-in additional logic to SCR runtime to 
influence whether a component should be started ?

Regards,
Subbarao

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com