Christian Seiler wrote:

Is it possible to have an abstract class with stereotype Service?




Have you tried it?



I tried and it seems not to be possible (spring cartridge). I want to accomplish the following:

Let's say we have a service "UserService" and another service
"SpecialUserService"
which extends UserService.

Now I want UserService to be abstract, which means that it is not
instantiated
as a bean in the spring context. I only want the SpecialUserService to
be instantiated.

The bean ID of SpecialUserService should be "userService", so other
abstract services can depend on
the abstract UserService

I don't want to end up having two beans UserService and
SpecialUserService, which is very error
prone.


Is this possible with the spring cartridge?


I've never tested with abstract services, if it doesn't work, please file a JIRA issue and I'll add the support.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user






------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to