[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] Plugin access to ORB



Hi David,
if you are looking for the same instance I am afraid there is currently
no way to get it.

We will discuss if implementing it in the code. Meanwhile, if you need
it urgently you could register it in the Global in CorbaDriver.init :

#169: glob.addObjectEntry("_CORBA_ORB", this.orb);

and in shutdown deregister:

#482: this.glob.removeObjectEntry("_CORBA_ORB");

Then you can access it with:
(org.omg.CORBA.ORB)this.glob.getObjectEntry("_CORBA_ORB");


On the other hand if it is sufficient to have a clone you could use the
OrbInstanceFactory factory.

Regards
Michele


David Robison wrote:
> Is there a way for a plugin to get the current ORB used by xmlBlaster?
> Thanks,
> David Robison