Thanks Howard

What I want is to select service by generic type. I know there is not
support yet and Josh has written a patch but till it is released
I thought of creating a small patch for my application.

1. I implemented an ObjectProvider and based on the fields generic types I
match it will the available services.
2. To get the available services I use ClassNameLocator which searches in a
given package name.

To avoid a package name in step 2, I want to get the list of services
available.

regards
Taha


On Mon, Jan 3, 2011 at 2:13 AM, Howard Lewis Ship <hls...@gmail.com> wrote:

> If you inject the ObjectLocator resource into your service, it can resolve
> services by type and annotation.  That's what's used internally by Tapestry
> as well.
>
> On Sat, Jan 1, 2011 at 7:49 PM, Taha Hafeez <tawus.tapes...@gmail.com
> >wrote:
>
> > Hi
> >
> > How can I get list of all services?. I need to select services based on
> > their types or annotations
> >
> > regards
> > Taha
> >
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn
> how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>

Reply via email to