Package org.jmxtrans.agent.properties
Class NoPropertiesSourcePropertiesLoader
java.lang.Object
org.jmxtrans.agent.properties.NoPropertiesSourcePropertiesLoader
- All Implemented Interfaces:
PropertiesLoader
public class NoPropertiesSourcePropertiesLoader extends java.lang.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 java.lang.StringgetDescription()Properties loader description for better log messagesjava.util.Map<java.lang.String,java.lang.String>loadProperties()Always returns an empty map.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NoPropertiesSourcePropertiesLoader
public NoPropertiesSourcePropertiesLoader()
-
-
Method Details
-
loadProperties
public java.util.Map<java.lang.String,java.lang.String> loadProperties()Always returns an empty map.- Specified by:
loadPropertiesin interfacePropertiesLoader- Returns:
- A map with property keys and values.
-
getDescription
public java.lang.String getDescription()Description copied from interface:PropertiesLoaderProperties loader description for better log messages- Specified by:
getDescriptionin interfacePropertiesLoader
-