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).

Joe Walker [joe at getahead dot ltd dot uk]

Method Summary
 StoreProvider<X> create(Y y)
          Create a new StoreProvider for a given Y.

Method Detail


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.

Copyright 2008