|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IService
Common service interface.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||