/** * Unexport this object. */ public void shutdown() { POA poa = getPOA(); try { poa.deactivate_object(poa.reference_to_id(getReference())); } catch (UserException ex) { IIOPLogger.ROOT_LOGGER.warnCouldNotDeactivateIRObject(ex); } }
public void shutdown() { delegate.shutdown(); super.shutdown(); }
public void allDone() throws IRConstructionException { getReference(); }
/** * Convert a servant to a reference. */ protected org.omg.CORBA.Object servantToReference(Servant servant) { byte[] id = getObjectId(); try { repository.poa.activate_object_with_id(id, servant); org.omg.CORBA.Object ref = repository.poa.id_to_reference(id); return ref; } catch (WrongPolicy ex) { IIOPLogger.ROOT_LOGGER.debug("Exception converting CORBA servant to reference", ex); } catch (ServantAlreadyActive ex) { IIOPLogger.ROOT_LOGGER.debug("Exception converting CORBA servant to reference", ex); } catch (ObjectAlreadyActive ex) { IIOPLogger.ROOT_LOGGER.debug("Exception converting CORBA servant to reference", ex); } catch (ObjectNotActive ex) { IIOPLogger.ROOT_LOGGER.debug("Exception converting CORBA servant to reference", ex); } return null; }
public void allDone() throws IRConstructionException { getReference(); }
/** * Convert a servant to a reference. */ protected org.omg.CORBA.Object servantToReference(Servant servant) { byte[] id = getObjectId(); try { repository.poa.activate_object_with_id(id, servant); org.omg.CORBA.Object ref = repository.poa.id_to_reference(id); return ref; } catch (WrongPolicy ex) { IIOPLogger.ROOT_LOGGER.debug("Exception converting CORBA servant to reference", ex); } catch (ServantAlreadyActive ex) { IIOPLogger.ROOT_LOGGER.debug("Exception converting CORBA servant to reference", ex); } catch (ObjectAlreadyActive ex) { IIOPLogger.ROOT_LOGGER.debug("Exception converting CORBA servant to reference", ex); } catch (ObjectNotActive ex) { IIOPLogger.ROOT_LOGGER.debug("Exception converting CORBA servant to reference", ex); } return null; }
/** * Unexport this object. */ public void shutdown() { POA poa = getPOA(); try { poa.deactivate_object(poa.reference_to_id(getReference())); } catch (UserException ex) { IIOPLogger.ROOT_LOGGER.warnCouldNotDeactivateIRObject(ex); } }
public void shutdown() { delegate.shutdown(); super.shutdown(); }
public void allDone() throws IRConstructionException { getReference(); }
/** * Convert a servant to a reference. */ protected org.omg.CORBA.Object servantToReference(Servant servant) { byte[] id = getObjectId(); try { repository.poa.activate_object_with_id(id, servant); org.omg.CORBA.Object ref = repository.poa.id_to_reference(id); return ref; } catch (WrongPolicy ex) { IIOPLogger.ROOT_LOGGER.debug("Exception converting CORBA servant to reference", ex); } catch (ServantAlreadyActive ex) { IIOPLogger.ROOT_LOGGER.debug("Exception converting CORBA servant to reference", ex); } catch (ObjectAlreadyActive ex) { IIOPLogger.ROOT_LOGGER.debug("Exception converting CORBA servant to reference", ex); } catch (ObjectNotActive ex) { IIOPLogger.ROOT_LOGGER.debug("Exception converting CORBA servant to reference", ex); } return null; }
/** * Unexport this object. */ public void shutdown() { POA poa = getPOA(); try { poa.deactivate_object(poa.reference_to_id(getReference())); } catch (UserException ex) { IIOPLogger.ROOT_LOGGER.warnCouldNotDeactivateIRObject(ex); } }
public void shutdown() { delegate.shutdown(); super.shutdown(); }