Re: T5: Can I scan all services for a custom annotation?

2008-12-28 Thread Howard Lewis Ship
A decorator is the current proper approach to this. The only problem is that using a too-wide decorator (one that decorates MasterObjectProvider, or any service contributed into MasterObjectProvider) can easily cause a cyclic instantiation problem. In any case, I've been thinking of making it eas

T5: Can I scan all services for a custom annotation?

2008-12-28 Thread Bill Holloway
I've got a module library with an annotation that I can attach to any T5 service. I need to scan all an application's T5 services to pick out the ones that have that annotation. What's the best way to accomplish this? Thanks, Bill