public abstract class AbstractEmbeddedServerDetector extends DynamicMxFieldServerDetector
| Modifier and Type | Field and Description |
|---|---|
protected ObjectName |
absentDomainPattern |
protected org.apache.commons.logging.Log |
log |
protected ObjectName |
targetDomainPattern |
protected String |
title |
PROC_HOME_ENV, PROC_HOME_PROPERTY, PROC_JAVA, PROC_MAIN_CLASS, PROP_PROCESS_QUERY, SUN_JMX_PORT, SUN_JMX_REMOTE| Constructor and Description |
|---|
AbstractEmbeddedServerDetector() |
| Modifier and Type | Method and Description |
|---|---|
protected File |
findVersionFile(File dir,
Pattern pattern)
This function returns the version file, assuring that it's exactly of
expected version.
|
List |
getServerResources(org.hyperic.util.config.ConfigResponse platformConfig) |
void |
init(org.hyperic.hq.product.PluginManager manager) |
protected boolean |
versionFileMatches(String fileName,
Pattern pattern) |
discoverServices, formatFieldValueconfigureLocalMxURL, configureMxURL, discoverMxServices, discoverServiceTypes, findAndSetURL, getMxURL, getProcHomeEnv, getProcHomeProperty, getProcMainClass, getProcQuery, getProcQuery, getServerProcessList, getServerResource, isInstallTypeVersion, parseMxPort, setJmxUrldiscoverServerConfig, getFileResources, getPlatformConfig, getProcessQuery, getProcessResources, getProcOpts, getServerResources, isSwitch, newServerResource, newServerResource, setPlatformConfigcreateServerResource, createServiceResource, discoverResources, discoverServers, formatAutoInventoryName, formatName, getCanonicalPath, getConfigSchema, getConnectionProtocol, getDocument, getListenAddress, getListenAddress, getManager, getParentDir, getParentDir, getPids, getProcArgs, getProcCwd, getProcExe, getProcExe, getProcModules, getRegistryScanKeys, getRuntimeDiscoverer, getScanOrder, getServerSignature, getServiceConfigs, getServiceInventoryPlugins, getSigar, getTypeProperty, getXPathValue, getXPathValue, isInstallTypeVersion, isRuntimeDiscoverySupported, isSSLPort, isWin32ServiceRunning, setControlConfig, setControlConfig, setCustomProperties, setCustomProperties, setDescription, setMeasurementConfig, setMeasurementConfig, setProductConfig, setProductConfigadjustClassPath, configure, getAbsoluteFiles, getConfig, getConfig, getConfigSchema, getCustomPropertiesSchema, getCustomPropertiesSchema, getCustomPropertiesSchema, getDefaultInstallPath, getLog, getLogName, getManagerProperty, getName, getPlatformName, getPluginClassName, getPluginData, getPluginProperty, getPluginVersion, getProductPlugin, getProperties, getScriptExtension, getScriptExtension, getScriptExtension, getTypeInfo, getTypeNameProperty, getTypeNameProperty, getTypeProperties, getTypeProperty, getTypeProperty, isNetStatEnabled, isWin32, openResource, setData, setName, setPluginVersion, setTypeInfo, shutdown, toFileListprotected final org.apache.commons.logging.Log log
protected ObjectName targetDomainPattern
protected ObjectName absentDomainPattern
protected String title
public void init(org.hyperic.hq.product.PluginManager manager)
throws org.hyperic.hq.product.PluginException
init in class DynamicMxFieldServerDetectororg.hyperic.hq.product.PluginExceptionprotected File findVersionFile(File dir, Pattern pattern)
findVersionFile in class org.hyperic.hq.product.ServerDetectorpublic List getServerResources(org.hyperic.util.config.ConfigResponse platformConfig) throws org.hyperic.hq.product.PluginException
getServerResources in interface org.hyperic.hq.product.AutoServerDetectorgetServerResources in class org.hyperic.hq.product.jmx.MxServerDetectororg.hyperic.hq.product.PluginExceptionCopyright © 2011–2016 Talend Inc.. All rights reserved.