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
 Assigned to: Chad Brandon 
    Priority: Minor


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



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to