[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ctor parameter fix



On Tue, 29 Aug 2000, Fiedler.Raul wrote:
> Hi
> 
> I am interested to fix the ctor parameter issue. If you could pass on info
> on where to start and what classes are related. Second, can you shortly
> introduce what the ctor signature is for in createObject().

Have a look at org.ozoneDB.core.AbstractObjectContainer. The createTarget() 
method of this class is responsible for creating the target objects (database
objects). The signature string is used to find the corresponding constructor of
the target class. 

To get rid of this signature string and the need to build it by hand we could
try to generate the needed information out of the args[] array, which holds the
actual ctor parameters. But care must be taken because the actual can differ
from the formal param type. For example a String param can be passed where an
Object is needed.

Raul, please work on the current CVS tree. This will make it easier to
incorporate your changed later. And thanks for your help :)


Falko
-- 
______________________________________________________________________
Falko Braeutigam                              mailto:falko@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com