DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9232>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9232

XDoclet and inheritance

           Summary: XDoclet and inheritance
           Product: Avalon
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Phoenix
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Currently XDoclet will only pick up tags in the "end" class in hierarchy. So if 
you subclass to create a block 
then you need to overide methods to add metadata (and nothing else). One such 
example is 
  
/**  
 * @phoenix:dependency 
name="org.apache.avalon.cornerstone.services.dom.DocumentBuilderFactory"  
 * @phoenix:dependency name="org.apache.avalon.db.services.DatabasePersistor"  
 */  
 public void service(ServiceManager serviceManager)  
     throws ServiceException  
 {  
   super.service( serviceManager );  
 } 
  
We should fix this and allow metadata to be inherited (if not declared in 
class) or replaced or augmented (ie add 
metadata declared in class with metadata declared in parent class).

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to