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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to