Hi,

I tried Fedor's suggestion of using a createObject() method, but
unfortunately in Peer classes we cannot override this method in derived
classes, because Peer classes only have static methods, as Herv� posted
about 2 weeks ago (you cannot override static methods nor declare them
abstract).

The latest changes to the newtorque templates adds an extra doSelect method
that takes the class of objects that should be created as a string
parameter.  I then use Class.forName to get the specific class.  Any
comments on this?

~ Leon




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to