public static final boolean setORB (com.arjuna.orbportability.ORB theOrb) { if (_theOrb == null) { _theOrb = theOrb; theOrb.setORBShutdownListener(new ORBShutdownListener() { @Override public void orbShutdown() { ORBManager.reset(); } }); return true; } return false; }