Package org.jmxtrans.agent.properties
Class NoPropertiesSourcePropertiesLoader
java.lang.Object
org.jmxtrans.agent.properties.NoPropertiesSourcePropertiesLoader
- All Implemented Interfaces:
PropertiesLoader
public class NoPropertiesSourcePropertiesLoader extends Object implements PropertiesLoader
Properties loader that always returns an empty properties map.
- Author:
- Kristoffer Erlandsson
-
Constructor Summary
Constructors Constructor Description NoPropertiesSourcePropertiesLoader() -
Method Summary
Modifier and Type Method Description StringgetDescription()Properties loader description for better log messagesMap<String,String>loadProperties()Always returns an empty map.
-
Constructor Details
-
NoPropertiesSourcePropertiesLoader
public NoPropertiesSourcePropertiesLoader()
-
-
Method Details
-
loadProperties
Always returns an empty map.- Specified by:
loadPropertiesin interfacePropertiesLoader- Returns:
- A map with property keys and values.
-
getDescription
Description copied from interface:PropertiesLoaderProperties loader description for better log messages- Specified by:
getDescriptionin interfacePropertiesLoader
-