@Service @Deprecated public interface RMIRegistry
RMI is no longer used by the Thermostat agent. Invoking any of this
service's methods will result in a RemoteException
.
Modifier and Type | Method and Description |
---|---|
Remote |
export(Remote obj)
Deprecated.
Exports the provided remote object to the RMI registry.
|
Registry |
getRegistry()
Deprecated.
|
boolean |
unexport(Remote obj)
Deprecated.
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 © 2018. All rights reserved.