Class WmiDetectorFactory
- java.lang.Object
-
- org.opennms.netmgt.provision.support.GenericServiceDetectorFactory<WmiDetector>
-
- org.opennms.netmgt.provision.detector.wmi.WmiDetectorFactory
-
- All Implemented Interfaces:
ServiceDetectorFactory<WmiDetector>
@Component public class WmiDetectorFactory extends GenericServiceDetectorFactory<WmiDetector>
-
-
Constructor Summary
Constructors Constructor Description WmiDetectorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DetectRequest
buildRequest(String location, InetAddress address, Integer port, Map<String,String> attributes)
Builds the request that will be used to invoke the detector.Map<String,String>
getRuntimeAttributes(InetAddress address)
-
Methods inherited from class org.opennms.netmgt.provision.support.GenericServiceDetectorFactory
afterDetect, createDetector, getDetectorClass, setBeanProperties
-
-
-
-
Method Detail
-
buildRequest
public DetectRequest buildRequest(String location, InetAddress address, Integer port, Map<String,String> attributes)
Description copied from interface:ServiceDetectorFactory
Builds the request that will be used to invoke the detector.- Specified by:
buildRequest
in interfaceServiceDetectorFactory<WmiDetector>
- Overrides:
buildRequest
in classGenericServiceDetectorFactory<WmiDetector>
- Parameters:
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 invoked- Returns:
- a new
DetectRequest
-
getRuntimeAttributes
public Map<String,String> getRuntimeAttributes(InetAddress address)
-
-