@Service public interface RMIRegistry
Modifier and Type | Method and Description |
---|---|
Remote |
export(Remote obj)
Exports the provided remote object to the RMI registry.
|
Registry |
getRegistry() |
boolean |
unexport(Remote obj)
Unexports a previously exported remote object from the RMI registry.
|
Registry getRegistry() throws RemoteException
Registry
maintained by this service.RemoteException
- if this method fails to obtain the registryRemote export(Remote obj) throws RemoteException
obj
- - the object to be exportedRemoteException
- if this method fails to export the objectboolean unexport(Remote obj) throws RemoteException
obj
- - the object to be unexportedRemoteException
- if an error occurred trying to unexport
the objectCopyright © 2014. All rights reserved.