public void unexportObject(Remote remote) throws RemoteException { //PortableRemoteObjectExt.pushState(this); try { javax.rmi.PortableRemoteObject.unexportObject(remote); } finally { //PortableRemoteObjectExt.popState(); } }
public void cleanup() { if (subcoord != null) { TraceTm.jta.debug("unexport SubCoordinator"); try { PortableRemoteObject.unexportObject(subcoord); } catch (NoSuchObjectException e) { TraceTm.jta.debug("Cannot unexport subcoord:" + e); } subcoord = null; } }
public void cleanup() { if (subcoord != null) { TraceTm.jta.debug("unexport SubCoordinator"); try { PortableRemoteObject.unexportObject(subcoord); } catch (NoSuchObjectException e) { TraceTm.jta.debug("Cannot unexport subcoord:" + e); } subcoord = null; } }
if (impl != null) { try { PortableRemoteObject.unexportObject(impl); if (logger.isLoggable(Level.FINE)) { logger.log(Level.FINE, "unexport on {0} returns {1}",
/** * Performs shutdown of the server. Should be called last. */ public void shutdown () throws SysException { if ( exported_ ) { String exportClass = properties_ .getProperty ( "com.atomikos.icatch.rmi_export_class" ); try { if ( "PortableRemoteObject".equals ( exportClass ) ) PortableRemoteObject.unexportObject ( this ); else if ( "UnicastRemoteObject".equals ( exportClass ) ) UnicastRemoteObject.unexportObject ( this, true ); Context ctx = getInitialContext (); ctx.unbind ( name_ ); } catch ( Exception e ) { throw new SysException ( e.getMessage (), e ); } // set exported to false, to make sure this method is // idempotent exported_ = false; } }
PortableRemoteObject.unexportObject(tf);
PortableRemoteObject.unexportObject(tf);
PortableRemoteObject.unexportObject(serverClusterViewManager.CLIENT_CLUSTER_VIEW_PRO.get(protocol)); } catch (NoSuchObjectException e) { LOGGER.error("Cannot unexport the instance of ClientClusterViewProvider for the protocol {0}",
/** * unregister this bean in JNDI (unbind) * @throws NamingException exception */ protected void unregister() throws NamingException { if (TraceEjb.isDebugIc()) { TraceEjb.interp.log(BasicLevel.DEBUG, ""); } String name = dd.getJndiName(); // unregister in default InitialContext bf.getInitialContext().unbind(name); try { PortableRemoteObject.unexportObject(this); } catch (NoSuchObjectException e) { TraceEjb.interp.log(BasicLevel.ERROR, "unexportObject(JHome) failed", e); } unregistered = true; }
.getKey()); try { PortableRemoteObject.unexportObject(clientProvider); } catch (NoSuchObjectException e) { LOGGER.warn(