scray.common.properties.PropertyStorage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scray-common Show documentation
Show all versions of scray-common Show documentation
scray artefacts shared between scala and java components
package scray.common.properties;
/**
* Storage abstraction for properties
* @author andreas
*
*/
public interface PropertyStorage {
/**
* retrieve proerty value from storage service.
* This interface does not need to pay attention for
* @param name the property to retrieve
* @return the value of the property or null, if it doesn't exist
*/
public T get(Property name);
/**
* This method initializes the storage service and is called before
* any calls to get and put.
*/
public void init();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy