public static ORB getORB(Object stub) { if (stub instanceof DynamicStub) return ((DynamicStub) stub).getORB(); else if (stub instanceof ObjectImpl) return ((ObjectImpl) stub)._orb(); else throw wrapper.getOrbRequiresStub(); }
public static ORB getORB(Object stub) { if (stub instanceof DynamicStub) return ((DynamicStub) stub).getORB(); else if (stub instanceof ObjectImpl) return ((ObjectImpl) stub)._orb(); else throw wrapper.getOrbRequiresStub(); }