No, I am using the BeanUtils.copyProperties(target, orig);

 

-----Original Message-----
From: Dave Newton [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 28, 2005 12:57 PM
To: Struts Users Mailing List
Subject: Re: [ot] utility to verify if an Object implements all methods
from Interface?

Mick Knutson wrote:

>Because I would have to modify generated code to do that. And it only 
>implements serializable. Nothing else.
>  
>
And you can't subclass it and have the subclass implement the interface?

In any case, just loop through w/ reflection and check.

I'm still confused though; are you calling methods on these classes
through reflection, which is why you won't catch these issues during
compilation?

Dave



---------------------------------------------------------------------
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]

Reply via email to