Package org.eclipse.rap.rwt.service
Class FileSettingStoreFactory
java.lang.Object
org.eclipse.rap.rwt.service.FileSettingStoreFactory
- All Implemented Interfaces:
SettingStoreFactory
A setting store factory that creates instances of
FileSettingStore
.
This implementation uses the following strategy to determine the path for persisting the data of the session store instances.
- Use the directory specified by the init-parameter
"org.eclipse.rap.rwt.service.FileSettingStore.dir"
in the web.xml. - Use the directory specified by the
"javax.servlet.context.tempdir"
attribute in the servlet context. - Use the directory specified by the
"java.io.tempdir"
property.
- Since:
- 2.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates and initializes a new specific setting store instance.
-
Constructor Details
-
FileSettingStoreFactory
public FileSettingStoreFactory()
-
-
Method Details
-
createSettingStore
Description copied from interface:SettingStoreFactory
Creates and initializes a new specific setting store instance.- Specified by:
createSettingStore
in interfaceSettingStoreFactory
- Parameters:
id
- the ID for the setting store to create, must not benull
or empty- Returns:
- the created setting store, never
null
-