org.talend.esb.monitoring.hq
Class KarafEmbeddedServerDetector

java.lang.Object
  extended by org.hyperic.hq.product.GenericPlugin
      extended by org.hyperic.hq.product.ServerDetector
          extended by org.hyperic.hq.product.DaemonDetector
              extended by org.hyperic.hq.product.jmx.MxServerDetector
                  extended by org.talend.esb.monitoring.hq.DynamicMxFieldServerDetector
                      extended by org.talend.esb.monitoring.hq.AbstractEmbeddedServerDetector
                          extended by org.talend.esb.monitoring.hq.KarafEmbeddedServerDetector
All Implemented Interfaces:
org.hyperic.hq.product.AutoServerDetector, org.hyperic.hq.product.FileServerDetector, org.hyperic.hq.product.RuntimeDiscoverer
Direct Known Subclasses:
TalendRuntimeServerDetector

public class KarafEmbeddedServerDetector
extends AbstractEmbeddedServerDetector


Nested Class Summary
 
Nested classes/interfaces inherited from class org.hyperic.hq.product.jmx.MxServerDetector
org.hyperic.hq.product.jmx.MxServerDetector.MxProcess
 
Field Summary
 
Fields inherited from class org.talend.esb.monitoring.hq.AbstractEmbeddedServerDetector
absentDomainPattern, log, targetDomainPattern, title
 
Fields inherited from class org.hyperic.hq.product.jmx.MxServerDetector
PROC_HOME_ENV, PROC_HOME_PROPERTY, PROC_JAVA, PROC_MAIN_CLASS, PROP_PROCESS_QUERY, SUN_JMX_PORT, SUN_JMX_REMOTE
 
Fields inherited from class org.hyperic.hq.product.ServerDetector
AUTOINVENTORY_NAME, INSTALLPATH, INVENTORY_ID
 
Fields inherited from class org.hyperic.hq.product.GenericPlugin
config, FILE_DELIM, FILE_DELIM_ESC, PROP_NAME
 
Constructor Summary
KarafEmbeddedServerDetector()
           
 
Method Summary
protected  File findVersionFile(File dir, Pattern pattern)
          This function returns the version file, assuring that it's exactly of expected version.
 void init(org.hyperic.hq.product.PluginManager manager)
           
 
Methods inherited from class org.talend.esb.monitoring.hq.AbstractEmbeddedServerDetector
getServerResources, versionFileMatches
 
Methods inherited from class org.talend.esb.monitoring.hq.DynamicMxFieldServerDetector
discoverServices, formatFieldValue
 
Methods inherited from class org.hyperic.hq.product.jmx.MxServerDetector
configureLocalMxURL, configureMxURL, discoverMxServices, discoverServiceTypes, findAndSetURL, getMxURL, getProcHomeEnv, getProcHomeProperty, getProcMainClass, getProcQuery, getProcQuery, getServerProcessList, getServerResource, isInstallTypeVersion, parseMxPort, setJmxUrl
 
Methods inherited from class org.hyperic.hq.product.DaemonDetector
discoverServerConfig, getFileResources, getPlatformConfig, getProcessQuery, getProcessResources, getProcOpts, getServerResources, isSwitch, newServerResource, newServerResource, setPlatformConfig
 
Methods inherited from class org.hyperic.hq.product.ServerDetector
createServerResource, 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, setProductConfig
 
Methods inherited from class org.hyperic.hq.product.GenericPlugin
adjustClassPath, 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, toFileList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KarafEmbeddedServerDetector

public KarafEmbeddedServerDetector()
Method Detail

init

public void init(org.hyperic.hq.product.PluginManager manager)
          throws org.hyperic.hq.product.PluginException
Overrides:
init in class AbstractEmbeddedServerDetector
Throws:
org.hyperic.hq.product.PluginException

findVersionFile

protected File findVersionFile(File dir,
                               Pattern pattern)
Description copied from class: AbstractEmbeddedServerDetector
This function returns the version file, assuring that it's exactly of expected version.

Overrides:
findVersionFile in class AbstractEmbeddedServerDetector


Copyright © 2011–2015 Talend Inc.. All rights reserved.