[ http://jira.andromda.org/browse/SPRING-71?page=history ]
     
Chad Brandon closed SPRING-71:
------------------------------

     Resolution: Fixed
    Fix Version: 3.1RC1

> service inheritance: initialize/ref dao and spring-POJO-service in subclass
> ---------------------------------------------------------------------------
>
>          Key: SPRING-71
>          URL: http://jira.andromda.org/browse/SPRING-71
>      Project: Spring Cartridge
>         Type: Bug
>     Versions: 3.0RC2, 3.0 Final
>     Reporter: Jens Vagts
>     Assignee: Chad Brandon
>     Priority: Minor
>      Fix For: 3.1RC1
>  Attachments: patch.txt
>
> For using service inheritance with dependencies to different daos (entities) 
> in each service, the initialization for the inhertited dao bean is missing in 
> application context, like:
> #if($service.generalization)
> #foreach($entityRef in $service.generalization.entityReferences)
>         <property name="$entityRef.daoName"><ref 
> bean="$entityRef.targetElement.getBeanName(false)"/></property>
> #end
> #end
> Also the initialization of the superclass spring service bean is missing in 
> the ejb subclass. super.onEjbCreate() in the subclass onEjbCreate() would 
> solve it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to