|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.datasync.Directory
public class Directory
A way to find StoreProviders that people wish to expose to the
outside world.
Warning. This API may well get wrapped in a Factory like the other DWR
services.
TODO: decide if we want to wrap this
| Constructor Summary | |
|---|---|
Directory()
|
|
| Method Summary | ||
|---|---|---|
static
|
getRegistration(java.lang.String storeId,
java.lang.Class<T> type)
Look up the StoreProvider by ID. |
|
static void |
register(java.lang.String storeId,
StoreProvider<?> provider)
Register a StoreProvider for access by the outside world |
|
static void |
unregister(java.lang.String storeId)
Remove the registration of a StoreProvider |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Directory()
| Method Detail |
|---|
public static void register(java.lang.String storeId,
StoreProvider<?> provider)
storeId - The id by which the store can be reachedprovider - The store provider that holds the Map of datapublic static void unregister(java.lang.String storeId)
storeId - The id by which the store can be reached
public static <T> StoreProvider<T> getRegistration(java.lang.String storeId,
java.lang.Class<T> type)
storeId - The id by which the store can be reached
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||