I want a wrapper class for an object I do not want to write methods which calls
method
Assume I have class
I have inteface
getString();
getLength();
Some class is implementing this.
At runtime I uwant to update this object by overriding method getLenth().
one way is create a new implementation this implemtation is just a wrapper to
actual implementation
so in this wrapper I will say
getLenght(){
actualImplementation.getLength();
instead of doing this is there a way I create a class override only method
getLength nad rest methods comes from super class .
Thanks & Regards
Miro
Dave Newton <[EMAIL PROTECTED]> wrote: --- temp temp wrote:
> Is there any way I can set super class using bean
> retrospection ?
> I create a instance of a class is there a
> possible way to to add a super class using bean
> retrospection ?
In a day of surprisingly accurate typos, retrospection
is *exactly* what you'd want to use.
What do you mean by "add a super class"? A class can
only have a single superclass, which is determined at
compile-time (AFAIK).
d.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.