Hi,

[ from the Turbine 2 CVS ]

any particular reason why

public getInstance(String classname, Object[] params, String[] signature) 

and

protected getInstance(Class classObject, Object[] params, String[] signature) 

Is there a difference between

getInstance(String classname, Object[] params, String[] signature) 

and

getInstance(Class.forName(classname), Object[] params, String[] signature) 

other than the first is public and the second is not?

(Hmm. According to the source of the TurbineFactoryService, this is
pretty much a mess with same-sounding names but different ways of
working. The first used the supplied factories and the second simply
instanciates the classes.  Any reason why these methods have the same
names?)

        Regards
                Henning





-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     [EMAIL PROTECTED]

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   [EMAIL PROTECTED]
D-91054 Buckenhof     Fax.: 09131 / 50654-20   

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to