org.directwebremoting.datasync
Interface StoreProviderFactory<X,Y>
public interface StoreProviderFactory<X,Y>
The PerXStoreProviders (like PerHttpSessionStoreProvider and
PerScriptSessionStoreProvider) need a way to create
StoreProviders for a given Y (in the above example Y is either
HttpSession or ScriptSession).
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
create
StoreProvider<X> create(Y y)
- Create a new StoreProvider for a given Y.
For container classes like HttpSession etc, this method does NOT need
to store the created object. That is done by the PerXStoreProvider
implementation.