Because I would have to modify generated code to do that. And it only implements serializable. Nothing else.
-----Original Message----- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Thursday, October 27, 2005 4:51 PM To: Struts Users Mailing List Subject: Re: [ot] utility to verify if an Object implements all methods from Interface? Interesting... why can't you implement the interface? Just curious. Does it implement any other interfaces to build up the method list? If so, you could just do a serious of instanceof's against all the interfaces it implements. Alternatively, you can use reflection to get a list of the methods it contains and do your checks against that. Frank Mick Knutson wrote: > I have some generated Objects that I CAN"T make implement my given > interface, but I would like to run a test at startup time, if the > Object has all the methods it is suppose to have? > > > "MMS <safeway.com>" made the following annotations. > ---------------------------------------------------------------------- > -------- > Warning: > All e-mail sent to this address will be received by the Safeway corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain information proprietary to Safeway and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately. > > ====================================================================== > ======== > -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] "MMS <safeway.com>" made the following annotations. ------------------------------------------------------------------------------ Warning: All e-mail sent to this address will be received by the Safeway corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain information proprietary to Safeway and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately. ============================================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]