On Fri, 25 Aug 2006 10:29:50 -0700, at 22:02, Phil M <[EMAIL PROTECTED]> wrote:

I really have not been following this thread very closely, but has
anyone considered Shared Methods?  Instead of making an object
factory, why not make the object itself be responsible for creating
an instance of it's type?

Something like:

   [Shared] Function Instance() As MyClass
     Return New MyClass
   End Function

This isn't enough for my needs. I created specially classes (DynamicDataObjects) based on given parameters (shema-files) but this classes should treated as "real" classes. So after initializing all the properties and do all necessary settings I store them in the factory with a different name, than the original (=coded) class.

Btw. that's the reason why I need a factory and have a ClassLoader- Class / - Object in each "Library".

Btw. 2 after once writing the code for my factory and some other needed methods around it, I never was in need to touch it again.

ciao

Thorsten Hohage
--
that-Office.de Softwaredesign - Hamburg,Germany


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to