@Component public class WsManDetectorFactory extends GenericServiceDetectorFactory<WsManDetector>
Constructor and Description |
---|
WsManDetectorFactory() |
Modifier and Type | Method and Description |
---|---|
void |
afterDetect(DetectRequest request,
DetectResults results,
Integer nodeId)
Stores the product vendor and product version in the node assets table
after the service was successfully detected.
|
DetectRequest |
buildRequest(String location,
InetAddress address,
Integer port,
Map<String,String> attributes)
Builds the request that will be used to invoke the detector.
|
WsManDetector |
createDetector()
Instantiates a new detector.
|
getDetectorClass
public WsManDetector createDetector()
ServiceDetectorFactory
createDetector
in interface ServiceDetectorFactory<WsManDetector>
createDetector
in class GenericServiceDetectorFactory<WsManDetector>
public DetectRequest buildRequest(String location, InetAddress address, Integer port, Map<String,String> attributes)
ServiceDetectorFactory
buildRequest
in interface ServiceDetectorFactory<WsManDetector>
buildRequest
in class GenericServiceDetectorFactory<WsManDetector>
location
- name of the location in which the detector will be invokedaddress
- address of the agent against which the detector will be invokedport
- port of the agent against which the detector will be invokedDetectRequest
@Transactional public void afterDetect(DetectRequest request, DetectResults results, Integer nodeId)
afterDetect
in interface ServiceDetectorFactory<WsManDetector>
afterDetect
in class GenericServiceDetectorFactory<WsManDetector>
Copyright © 2017. All rights reserved.