db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leandro Rodrigo Saad Cruz <lean...@ibnetwork.com.br>
Subject Re: ObjectFactory problem - Pico caching
Date Tue, 16 Nov 2004 14:26:29 GMT
<java>
PBKey key = new PBKey(alias);
PersistenceBrokerFactory.getOjb().getConfiguration(key).getObjectFactory().registerCreator(creator,"*");
PersistenceBrokerFactory.createPersistenceBroker(key);
</java>

An instance of ObjectFactoryDefaultImpl is created on lines 2 and 3 from
the snippet above. Do you know why ?!


On Tue, 2004-11-16 at 15:08 +0100, Thomas Dudziak wrote:
> Leandro Rodrigo Saad Cruz wrote:
> 
> >Hi all. I'm having some problems with ojb-HEAD b/c the ObjectFactory
> >instance is not a singleton (IMHO it should), is there any place I can
> >tell pico to cache isnatnces of ObjectFactory.
> >  
> >
> Its a singleton per PersistenceConfiguration.
> What is your exact problem ?
> 
> 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