Class AbstractPropertySource<T>
- java.lang.Object
-
- cn.sliew.milky.common.environment.AbstractPropertySource<T>
-
- All Implemented Interfaces:
PropertySource<T>
- Direct Known Subclasses:
MapPropertySource
public abstract class AbstractPropertySource<T> extends Object implements PropertySource<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractPropertySource(String name, T source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsProperty(String property)booleanequals(Object o)StringgetName()TgetSource()inthashCode()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cn.sliew.milky.common.environment.PropertySource
getAllPropertyNames, getProperty
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfacePropertySource<T>
-
getSource
public T getSource()
- Specified by:
getSourcein interfacePropertySource<T>
-
containsProperty
public boolean containsProperty(String property)
- Specified by:
containsPropertyin interfacePropertySource<T>
-
-