Re: T5-IOC: Visibility of Services

2008-07-30 Thread Renat Zubairov
Glad that my comments were at least somehow helpful, you can also check messages from Igor Drobiazko in this and in tap-dev lists, he is now trying to integrate Tapestry with OSGI and already solved some of the problems with that. BR Renat 2008/7/30 Michael Zehender <[EMAIL PROTECTED]>: > Thanks,

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Michael Zehender
Thanks for the insight. I fully agree. On Jul 30, 2008, at 6:37 PM, Howard Lewis Ship wrote: Part of Tapestry 5 is "simplify, simplify". HiveMind had qualified service ids and service visibility, but with the move to Tapestry 5, prompted by other containers such as Guice, I started to question

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Michael Zehender
Thanks, that hint was great! Its exactly what I was looking for :-) On Jul 30, 2008, at 5:31 PM, Renat Zubairov wrote: That sounds for me very similar to what OSGI already does quite well, IMHO Tapestry 5 IOC OSGI integration would be pretty interesting to see. Concerning private/public service

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Howard Lewis Ship
Part of Tapestry 5 is "simplify, simplify". HiveMind had qualified service ids and service visibility, but with the move to Tapestry 5, prompted by other containers such as Guice, I started to question why some of those features are in place. I found that all the "private" services were in one of

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Renat Zubairov
That sounds for me very similar to what OSGI already does quite well, IMHO Tapestry 5 IOC OSGI integration would be pretty interesting to see. Concerning private/public services/interfaces you may consider using some compile time checks/warnings when such things happening, for example AspectJ based

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Michael Zehender
May I ask why the decision was made to strip it out? I'm sorry, I don't want to be rude but I'd just like to know. Maybe I'd need to redesign a few things if I understand ... Thanks, Michael 2008/7/30, Howard Lewis Ship <[EMAIL PROTECTED]>: > This is actually a feature of Tapestry IoC that was s

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Howard Lewis Ship
This is actually a feature of Tapestry IoC that was stripped out long ago (that is, private services within modules). HiveMind, the precursor to Tapestry 5 IoC, has this feature. On Wed, Jul 30, 2008 at 1:56 AM, Michael Zehender <[EMAIL PROTECTED]> wrote: > Hello Renat, > > I'm currently building

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Michael Zehender
Hello Renat, I'm currently building a product that will integrate with 3rd party modules. I want them to use only the published services to prevent them of developing bad hacks using the Internal Services instead, which might change from version to version. I want to provide backwards com

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Renat Zubairov
Hello Michael, Would would be the usecases for this feature? Why would you need it? Are you also planning to have versions for the modules? How are dependencies between the modules are resolved? Renat 2008/7/30 Michael Zehender <[EMAIL PROTECTED]>: > Hi, > > I'm just looking for a way to configu

T5-IOC: Visibility of Services

2008-07-30 Thread Michael Zehender
Hi, I'm just looking for a way to configure the visibility of services within the IoC container. The target would be have module internal services i.e. these internal services can be injected to services within the same module only. A short example to illustrate, in the MyCoreModule I want