org.hyperic.hq.product
Class ConfigFileTrackPlugin
java.lang.Object
org.hyperic.hq.product.GenericPlugin
org.hyperic.hq.product.ConfigTrackPlugin
org.hyperic.hq.product.ConfigFileTrackPlugin
public class ConfigFileTrackPlugin
- extends ConfigTrackPlugin
Methods inherited from class org.hyperic.hq.product.GenericPlugin |
adjustClassPath, getAbsoluteFiles, getConfig, getConfig, getCustomPropertiesSchema, getCustomPropertiesSchema, getCustomPropertiesSchema, getDefaultInstallPath, getLog, getLogName, getManagerProperty, getName, getPlatformName, getPluginClassName, getPluginData, getPluginProperty, getProductPlugin, getProperties, getScriptExtension, getScriptExtension, getScriptExtension, getTypeInfo, getTypeNameProperty, getTypeNameProperty, getTypeProperties, getTypeProperty, getTypeProperty, getTypeProperty, isNetStatEnabled, isWin32, openResource, setData, setName, setTypeInfo, toFileList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_FILES_PLATFORM
public static final java.lang.String PROP_FILES_PLATFORM
PROP_FILES_SERVER
public static final java.lang.String PROP_FILES_SERVER
PROP_FILES_SERVICE
public static final java.lang.String PROP_FILES_SERVICE
log
protected static org.apache.commons.logging.Log log
watcher
protected org.hyperic.sigar.FileWatcher watcher
ConfigFileTrackPlugin
public ConfigFileTrackPlugin()
getFileWatcher
protected org.hyperic.sigar.FileWatcher getFileWatcher()
getDefaultConfigFile
protected java.lang.String getDefaultConfigFile(TypeInfo info,
ConfigResponse config)
getFilesOption
protected ConfigOption getFilesOption(TypeInfo info,
ConfigResponse config)
getConfigSchema
public ConfigSchema getConfigSchema(TypeInfo info,
ConfigResponse config)
- Description copied from class:
GenericPlugin
- The ConfigSchema used to render config options for this resource
in the UI and client shell.
- Overrides:
getConfigSchema
in class ConfigTrackPlugin
- Parameters:
info
- The TypeInfo of this plugin from ProductPlugin.getTypesconfig
- ConfigReponse of the parent resource (if any).
- Returns:
- ConfigSchema for this resource.
getFiles
public java.lang.String[] getFiles(ConfigResponse config)
configure
public void configure(ConfigResponse config)
throws PluginException
- Overrides:
configure
in class GenericPlugin
- Throws:
PluginException
shutdown
public void shutdown()
throws PluginException
- Description copied from class:
GenericPlugin
- Called when the server or agent is shutdown.
Use this method to cleanup any resources that were created
during the init() method.
- Overrides:
shutdown
in class GenericPlugin
- Throws:
PluginException
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.