public interface MetaStore
Modifier and Type | Method and Description |
---|---|
void |
createStore(java.lang.String storeName)
Create a named store
|
java.lang.Object |
getEntry(java.lang.String storeName,
java.lang.String name,
java.lang.Class<?> clazz)
Get a named entry from the store
|
java.util.Set<java.lang.String> |
listMetaStoreEntries(java.lang.String storeName)
Get a list of all entries in a named store
|
java.util.Set<java.lang.String> |
listMetaStoreEntries(java.lang.String storeName,
java.lang.String prefix)
Get a list of all named entries starting with the given prefix
|
java.util.Set<java.lang.String> |
listMetaStores()
Get a list of all named meta stores
|
void |
storeEntry(java.lang.String storeName,
java.lang.String name,
java.lang.Object toStore)
Store a named entry
|
java.util.Set<java.lang.String> listMetaStores() throws java.io.IOException
java.io.IOException
- if a problem occursjava.util.Set<java.lang.String> listMetaStoreEntries(java.lang.String storeName) throws java.io.IOException
storeName
- the name of the store to get entries forjava.io.IOException
- if a problem occursjava.util.Set<java.lang.String> listMetaStoreEntries(java.lang.String storeName, java.lang.String prefix) throws java.io.IOException
storeName
- the name of the store to get entries forprefix
- the prefix with which to search for entriesjava.io.IOException
- if a problem occursvoid createStore(java.lang.String storeName) throws java.io.IOException
storeName
- the name of the store to createjava.io.IOException
- if a problem occursjava.lang.Object getEntry(java.lang.String storeName, java.lang.String name, java.lang.Class<?> clazz) throws java.io.IOException
storeName
- the name of the store to usename
- the full name of the entry to retrieveclazz
- the expected class of the entry when deserializedjava.io.IOException
- if the deserialized entry does not match the expected
classvoid storeEntry(java.lang.String storeName, java.lang.String name, java.lang.Object toStore) throws java.io.IOException
storeName
- the name of the store to usename
- the full name of the entry to storetoStore
- a beans compliant object to storejava.io.IOException
- if a problem occurs