|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.capsd.AbstractPlugin
org.opennms.netmgt.capsd.plugins.WmiPlugin
public class WmiPlugin
This class is designed to be used by the capabilities daemon to test whether a WMI service is running on the remote server and if the given class/object can be successfully retrieved from the service.
| Constructor Summary | |
|---|---|
WmiPlugin()
|
|
| Method Summary | |
|---|---|
String |
getProtocolName()
Returns the name of the protocol that this plugin checks on the target system for support. |
boolean |
isProtocolSupported(InetAddress address)
Returns true if the protocol defined by this plugin is supported. |
boolean |
isProtocolSupported(InetAddress address,
Map<String,Object> qualifiers)
Returns true if the protocol defined by this plugin is supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WmiPlugin()
| Method Detail |
|---|
public String getProtocolName()
getProtocolName in interface PlugingetProtocolName in class AbstractPluginpublic boolean isProtocolSupported(InetAddress address)
The WmiPlugin does not support undirected checks, we must have a map of parameters to determine how to issue a check to the target server.
isProtocolSupported in interface PluginisProtocolSupported in class AbstractPluginaddress - The address to check for support.
UnsupportedOperationException - This is always thrown by this plugin.
public boolean isProtocolSupported(InetAddress address,
Map<String,Object> qualifiers)
The following parameters are used by this plugin:
WmiResult.RES_STATE_OK or
WmiResult.RES_STATE_WARNING.
isProtocolSupported in interface PluginisProtocolSupported in class AbstractPluginaddress - The address to check for support.qualifiers - The map where qualification are set by the plugin.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||