Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

[groovy-user] extends in groovy script

fachhoch

2010-03-18

Replies: Find Java Web Hosting

Author LoginPost Reply

here is my groovy class loaded at runtime by spring


public class PDReturnedDocumentsEmail extends
LeadAnlystReturnedAssignmentEmail{
 
 
 @Override
 protected CommentVariable getCommentVariable() {
   return CommentVariable.GO_COMMENTS_FOR_DOCUMENTS_REWORK;
 }
 
 @Override
 protected String getSubject() {
   return "Program Director returned Documents";
 }
 
}


PDReturnedDocumentsEmail   extends from  LeadAnlystReturnedAssignmentEmail
which is also a groovy script. Will this work ?
Its not working for me the methods getSubject() and getCommentVariable()
which I override in  PDReturnedDocumentsEmail   are not getting called ,
pelase tell me if this will work or is there any workaround for this ?





--
Sent from the groovy - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.