Java Code Examples for javax.rmi.PortableRemoteObject#unexportObject()
The following examples show how to use
javax.rmi.PortableRemoteObject#unexportObject() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HelloImpl.java From cacheonix-core with GNU Lesser General Public License v2.1 | 5 votes |
public void stop() throws Exception { if (m_isRunning) { PortableRemoteObject.unexportObject(this); Context ctx = new InitialContext(); ctx.unbind(IIOP_JNDI_NAME); m_isRunning = false; System.out.println("My Service Servant stopped successfully"); } }
Example 2
Source File: JndiRmiServiceExporter.java From lams with GNU General Public License v2.0 | 5 votes |
/** * Unbind the RMI service from JNDI on bean factory shutdown. */ @Override public void destroy() throws NamingException, NoSuchObjectException { if (logger.isInfoEnabled()) { logger.info("Unbinding RMI service from JNDI location [" + this.jndiName + "]"); } this.jndiTemplate.unbind(this.jndiName); PortableRemoteObject.unexportObject(this.exportedObject); }
Example 3
Source File: JndiRmiServiceExporter.java From spring4-understanding with Apache License 2.0 | 5 votes |
/** * Unbind the RMI service from JNDI on bean factory shutdown. */ @Override public void destroy() throws NamingException, NoSuchObjectException { if (logger.isInfoEnabled()) { logger.info("Unbinding RMI service from JNDI location [" + this.jndiName + "]"); } this.jndiTemplate.unbind(this.jndiName); PortableRemoteObject.unexportObject(this.exportedObject); }
Example 4
Source File: IIOPProxyImpl.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
@Override public void unexportObject(Remote obj) throws NoSuchObjectException { PortableRemoteObject.unexportObject(obj); }
Example 5
Source File: IIOPProxyImpl.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 4 votes |
@Override public void unexportObject(Remote obj) throws NoSuchObjectException { PortableRemoteObject.unexportObject(obj); }
Example 6
Source File: IIOPProxyImpl.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
@Override public void unexportObject(Remote obj) throws NoSuchObjectException { PortableRemoteObject.unexportObject(obj); }
Example 7
Source File: IIOPProxyImpl.java From jdk8u_jdk with GNU General Public License v2.0 | 4 votes |
@Override public void unexportObject(Remote obj) throws NoSuchObjectException { PortableRemoteObject.unexportObject(obj); }
Example 8
Source File: IIOPProxyImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
@Override public void unexportObject(Remote obj) throws NoSuchObjectException { PortableRemoteObject.unexportObject(obj); }
Example 9
Source File: IIOPProxyImpl.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
@Override public void unexportObject(Remote obj) throws NoSuchObjectException { PortableRemoteObject.unexportObject(obj); }
Example 10
Source File: IIOPProxyImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
@Override public void unexportObject(Remote obj) throws NoSuchObjectException { PortableRemoteObject.unexportObject(obj); }
Example 11
Source File: IIOPProxyImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 4 votes |
@Override public void unexportObject(Remote obj) throws NoSuchObjectException { PortableRemoteObject.unexportObject(obj); }
Example 12
Source File: IIOPProxyImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
@Override public void unexportObject(Remote obj) throws NoSuchObjectException { PortableRemoteObject.unexportObject(obj); }
Example 13
Source File: IIOPProxyImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
@Override public void unexportObject(Remote obj) throws NoSuchObjectException { PortableRemoteObject.unexportObject(obj); }
Example 14
Source File: IIOPProxyImpl.java From JDKSourceCode1.8 with MIT License | 4 votes |
@Override public void unexportObject(Remote obj) throws NoSuchObjectException { PortableRemoteObject.unexportObject(obj); }
Example 15
Source File: IIOPProxyImpl.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
@Override public void unexportObject(Remote obj) throws NoSuchObjectException { PortableRemoteObject.unexportObject(obj); }
Example 16
Source File: IIOPProxyImpl.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
@Override public void unexportObject(Remote obj) throws NoSuchObjectException { PortableRemoteObject.unexportObject(obj); }
Example 17
Source File: IIOPProxyImpl.java From dragonwell8_jdk with GNU General Public License v2.0 | 4 votes |
@Override public void unexportObject(Remote obj) throws NoSuchObjectException { PortableRemoteObject.unexportObject(obj); }