/** * The next "anonymous" POA object ID. * While contained IR objects can generate a sensible ID from their * repository ID, non-contained objects use this method to get an * ID that is unique within the IR. */ protected byte[] getNextObjectId() { return getAnonymousObjectId(nextPOAId++); }
public void shutdown() { // shutdown all anonymous IR objects in this IR for (long i = 1; i < nextPOAId; i++) { try { getPOA().deactivate_object(getAnonymousObjectId(i)); } catch (org.omg.CORBA.UserException ex) { IIOPLogger.ROOT_LOGGER.warnCouldNotDeactivateAnonIRObject(ex); } } // shutdown this IR's top-level container super.shutdown(); }
/** * The next "anonymous" POA object ID. * While contained IR objects can generate a sensible ID from their * repository ID, non-contained objects use this method to get an * ID that is unique within the IR. */ protected byte[] getNextObjectId() { return getAnonymousObjectId(nextPOAId++); }
/** * The next "anonymous" POA object ID. * While contained IR objects can generate a sensible ID from their * repository ID, non-contained objects use this method to get an * ID that is unique within the IR. */ protected byte[] getNextObjectId() { return getAnonymousObjectId(nextPOAId++); }
public void shutdown() { // shutdown all anonymous IR objects in this IR for (long i = 1; i < nextPOAId; i++) { try { getPOA().deactivate_object(getAnonymousObjectId(i)); } catch (org.omg.CORBA.UserException ex) { IIOPLogger.ROOT_LOGGER.warnCouldNotDeactivateAnonIRObject(ex); } } // shutdown this IR's top-level container super.shutdown(); }
public void shutdown() { // shutdown all anonymous IR objects in this IR for (long i = 1; i < nextPOAId; i++) { try { getPOA().deactivate_object(getAnonymousObjectId(i)); } catch (org.omg.CORBA.UserException ex) { IIOPLogger.ROOT_LOGGER.warnCouldNotDeactivateAnonIRObject(ex); } } // shutdown this IR's top-level container super.shutdown(); }