List of usage examples for org.springframework.remoting.rmi RmiServiceExporter destroy
@Override public void destroy() throws RemoteException
From source file:org.javassonne.networking.impl.RemotingUtils.java
/** * Stops the specified named service./*w w w . j a v a2 s. c o m*/ * * @param name * - the name of the service to stop * @throws RemoteException */ public static void shutdownService(String name) throws RemoteException { RmiServiceExporter exporter = serviceMap_.get(name); if (exporter != null) { exporter.destroy(); } }