That static stuff always makes me sick.. ;-(


Leon Messerschmidt wrote:
> 
> 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?

Sounds like the only way to go. I think though that we need a set of new
doSelect methods - one with classname passed for each without one. makes
sense?


Fedor.


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