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
"jakarta.servlet.context.tempdir"attribute in the servlet context. - Use the directory specified by the
"java.io.tempdir"property.
- Since:
- 2.0
-
Constructor Summary
Constructors -
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:SettingStoreFactoryCreates and initializes a new specific setting store instance.- Specified by:
createSettingStorein interfaceSettingStoreFactory- Parameters:
id- the ID for the setting store to create, must not benullor empty- Returns:
- the created setting store, never
null
-