Hello Armin,
> -----Original Message-----
> From: Armin Waibel [mailto:[EMAIL PROTECTED]]
> which version do you use?
> I think >0.94 OJB isn' a singleton.
current cvs HEAD:
/**
* private Constructor: use static factory method
* getInstance() to obtain an instance
*/
protected OJB()
{
ojbTxManager = TxManagerFactory.instance();
}
/**
* Return new instance of the {@link org.odmg.Implementation} class.
*/
public static Implementation getInstance()
{
OJB implementation = new OJB();
implementation.setConfigurator(PersistenceBrokerFactory.getConfigurator());
return implementation;
}
So it is not really a singleton, but almost.
Olli
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]