All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scray.common.properties.PropertyStorage Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
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