|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.magnos.data.Stores
public class Stores
A registry of stores mapped by their (hopefully) unique names.
| Constructor Summary | |
|---|---|
Stores()
|
|
| Method Summary | |
|---|---|
static Store |
get(java.lang.String name)
Gets the store with the given name from the registry. |
static Store |
put(Store store)
Adds the store to this registry. |
static Store |
put(Store store,
java.lang.String alias)
Adds the store to this registry under an alias. |
static Store |
remove(Store store)
Removes the given store from this registry. |
static Store |
remove(java.lang.String name)
Removes the store with the given name from this registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Stores()
| Method Detail |
|---|
public static Store get(java.lang.String name)
name - The name of the store to get from the registry.
public static Store put(Store store)
store - The store to add to the registry.
public static Store put(Store store,
java.lang.String alias)
store - The store to add to the registry.alias - The alias to add the store under, opposed to its own name.
public static Store remove(java.lang.String name)
name - The name of the store to remove.
public static Store remove(Store store)
store - The store to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||