Groups
Groups
Sign in
Groups
Groups
caelum-vraptor
Conversations
About
Send feedback
Help
@Component e a Herança entre Classes
13 views
Skip to first unread message
David Araujo
unread,
May 22, 2013, 3:51:36 PM
5/22/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to caelum-...@googlegroups.com
Olá todos,
Gostaria da ajuda de você para esclarecer uma dúvida simples.
Dado uma classe abstrata com a anotação @Component:
@Component
public abstract class Exemplo {
//code
}
E eu criar uma classe que estende essa abstrata, ela automaticamente se tornará um Component também?
Obrigado.
[]'s
--
att,
David Araújo
Abreu
Otávio Garcia
unread,
May 22, 2013, 3:53:11 PM
5/22/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to caelum-...@googlegroups.com
Não da para criar um componente de uma classe abstrata, pois não
existe uma forma de construir uma classe abstrata.
O correto é que apenas as implementações tenham a anotação.
> --
> You received this message because you are subscribed to the Google Groups
> "caelum-vraptor" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
caelum-vrapto...@googlegroups.com
.
> To post to this group, send email to
caelum-...@googlegroups.com
.
> Visit this group at
http://groups.google.com/group/caelum-vraptor?hl=en
.
> For more options, visit
https://groups.google.com/groups/opt_out
.
>
>
David Araujo
unread,
May 22, 2013, 3:55:41 PM
5/22/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to caelum-...@googlegroups.com
Obrigado Otávio.
[]'s
--
att,
David Araújo
Abreu
araujodavid.com
2013/5/22 Otávio Garcia
<
ota...@otavio.com.br
>
Reply all
Reply to author
Forward
0 new messages