public interface MetaStore
| Modifier and Type | Method and Description |
|---|---|
void |
createStore(String storeName)
Create a named store
|
Object |
getEntry(String storeName,
String name,
Class<?> clazz)
Get a named entry from the store
|
Set<String> |
listMetaStoreEntries(String storeName)
Get a list of all entries in a named store
|
Set<String> |
listMetaStoreEntries(String storeName,
String prefix)
Get a list of all named entries starting with the given prefix
|
Set<String> |
listMetaStores()
Get a list of all named meta stores
|
void |
storeEntry(String storeName,
String name,
Object toStore)
Store a named entry
|
Set<String> listMetaStores() throws IOException
IOException - if a problem occursSet<String> listMetaStoreEntries(String storeName) throws IOException
storeName - the name of the store to get entries forIOException - if a problem occursSet<String> listMetaStoreEntries(String storeName, String prefix) throws IOException
storeName - the name of the store to get entries forprefix - the prefix with which to search for entriesIOException - if a problem occursvoid createStore(String storeName) throws IOException
storeName - the name of the store to createIOException - if a problem occursObject getEntry(String storeName, String name, Class<?> clazz) throws IOException
storeName - the name of the store to usename - the full name of the entry to retrieveclazz - the expected class of the entry when deserializedIOException - if the deserialized entry does not match the expected
classvoid storeEntry(String storeName, String name, Object toStore) throws IOException
storeName - the name of the store to usename - the full name of the entry to storetoStore - a beans compliant object to storeIOException - if a problem occursCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.