db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Re: cvs commit: db-ojb/src/java/org/apache/ojb/broker/metadata MetadataManager.java
Date Sat, 12 Jun 2004 17:08:00 GMT
Thomas Dudziak wrote:
> Armin, that's the same functionality (there was only one instance created
> before) with one major difference: now the MetadataManager is instantiated
> as soon as the class is loaded where before it was instantiated only when
> first used. Could you perhaps undo your change because the effect is that
> this way OJB is initialized a lot earlier than necessary ?
>

Does this cause problems?
We have to make sure that it is guaranteed that only one instance of 
MetadataManager was created. With the old version it is not guaranteed 
(the old singleton problem ;-))

regards,
Armin

> Tom
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message