|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceDetector
ServiceDetector Note: the isServiceDetected method is not defined here because there is a synchronous version of the method and an asynchronous one that are defined in sub interfaces. This interface is used for the configuration so all service detectors can be found since the would all be initialized and configured the same way.
| Method Summary | |
|---|---|
void |
dispose()
The detector should clean up after itself in this method if necessary. |
String |
getServiceName()
Requires that all implementations of this API return a service name. |
void |
init()
Perform any necessary initialization after construction and before detecting. |
void |
setServiceName(String serviceName)
Service name is mutable so that we can create new instances of each implementation and define a new service detector using the underlying protocol. |
| Method Detail |
|---|
void init()
String getServiceName()
String object.void setServiceName(String serviceName)
serviceName - a String object.void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||