Hi Thiago

e.g

class SomePage {

@Inject
private GenericDao<User> userDAO;

@Inject
private GenericDao<Address> addressDAO;

}

class UserDAO extends GenericDAO<User> {
}

class AddressDAO extends GenericDAO<Address> {
}

Inject should be able to resolve by generic type

regards
Taha


On Mon, Jan 3, 2011 at 4:49 PM, Thiago H. de Paula Figueiredo <
[email protected]> wrote:

> On Sun, 02 Jan 2011 23:54:40 -0200, Taha Hafeez <[email protected]>
> wrote:
>
>  Hi
>>
>
> Hi!
>
>  There is a patch for resolving services by generic type. I am not able to
>> find it. Can anyone provide me a link in svn ?
>>
>
> What do you mean by generic type?
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to