| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hello all simple question i guess , im using several orbs in my projects sometimes jacorb sometime java buildin orb and sometimes visibroker now i like to be sure that the orb i init in ORB.init() is actually the orb i meant , so is there any way to get the ORB version / type ? |
|
#2
| |||
| |||
| On Aug 13, 12:19*pm, Meir <meiry...@gmail.com> wrote: > Hello all > simple question i guess , im using several orbs in my projects > sometimes jacorb sometime java buildin orb and sometimes visibroker > now i like to be sure that the orb i init in ORB.init() is actually > the orb i meant , so is there any way to get the ORB version / type ? You could just use a simple Java approach to this: if (global_orb instanceof com.iona.corba.art.artimpl.ORBImpl) { System.out.println("Orbix ORB"); } else { System.out.println("ORB = " + global_orb.getClass().getName()); } |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.