db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Braeuchi <jbraeu...@gmx.ch>
Subject accessing OJB instance
Date Thu, 07 Apr 2005 20:08:48 GMT
hi tom,

i'm currently refactoring the QueryFactory stuff. so far i have a new 
interface QueryFactoryNew (sorry for the name) and it's implementation.

the queryFactory is created in OJB#initDynamicSystem :

queryFactory = (QueryFactoryNew) 
container.getSingletonInstance(QueryFactoryNew.class);

in the testcases and the old QueryFactory i access OJB via 
PersistenceBrokerFactory.getOjb() but i'm not sure if this is correct ?

how do i ie. get OJB from BrokerHelper ? can i use the subcontainer from 
PBImpl and get a singleton of QueryFactoryNew from there ?

jakob


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