public interface IService extends Remote
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the service.
|
String |
getHostname()
The host on which this service is running.
|
Class |
getServiceIface()
Return the most interesting interface for the service.
|
String |
getServiceName()
Return name by which a user might recognize this service.
|
UUID |
getServiceUUID()
The unique identifier for this service.
|
UUID getServiceUUID() throws IOException
Note: Some service discovery frameworks (Jini) will assign the service a
UUID
asynchronously after a new service starts, in which case
this method will return null
until the service
UUID
has been assigned.
IOException
- since you can use this method with RMI.Class getServiceIface() throws IOException
IOException
- since you can use this method with RMI.String getHostname() throws IOException
IOException
- since you can use this method with RMI.String getServiceName() throws IOException
IOException
- since you can use this method with RMI.void destroy() throws RemoteException
DestroyAdmin#destroy()
.RemoteException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.