Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Furnadjiev2013-06-04 12:51:18 +0000
committerIvan Furnadjiev2013-06-04 12:51:18 +0000
commitfce8e72c71865515b1e36d9d5d18df35a1555c7a (patch)
treec60f85367e02d4026c7a764f31b8a0bfa979d69e /bundles/org.eclipse.rap.ui
parentf549088fc40fc43df101ac800323b213f8dd0b75 (diff)
downloadorg.eclipse.rap-fce8e72c71865515b1e36d9d5d18df35a1555c7a.tar.gz
org.eclipse.rap-fce8e72c71865515b1e36d9d5d18df35a1555c7a.tar.xz
org.eclipse.rap-fce8e72c71865515b1e36d9d5d18df35a1555c7a.zip
Replace outdated SettingStoreFactory web.xml configuration
Diffstat (limited to 'bundles/org.eclipse.rap.ui')
-rw-r--r--bundles/org.eclipse.rap.ui/schema/rap/settingstores.exsd16
1 files changed, 11 insertions, 5 deletions
diff --git a/bundles/org.eclipse.rap.ui/schema/rap/settingstores.exsd b/bundles/org.eclipse.rap.ui/schema/rap/settingstores.exsd
index d52866510c..2f3bdb1051 100644
--- a/bundles/org.eclipse.rap.ui/schema/rap/settingstores.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/rap/settingstores.exsd
@@ -19,13 +19,19 @@ Note that at runtime only <b>one</b> (out of all available) factorie
org.eclipse.rap.rwt.settingStoreFactory=file
</pre>
</li>
-<li>In an RWT-only deployment you can specify the factory to be used by placing the following snippet in the web.xml file:<br>
+<li>In RWT-only deployment you can specify the factory to be used in the application configuration:
<pre>
-<init-param>
- <param-name>org.eclipse.rap.rwt.settingStoreFactory</param-name>
- <param-value>org.eclipse.rap.rwt.service.FileSettingStoreFactory</param-value>
-</init-param>
+public class SimpleConfiguration implements ApplicationConfiguration {
+
+ public void configure( Application application ) {
+ ...
+ application.setSettingStoreFactory( new FileSettingStoreFactory() );
+ ...
+ }
+
+}
</pre>
+</li>
<li>If nothing is specified, the class <code>WorkbenchFileSettingStoreFactory</code> will be used in a regular RAP deployment. In an RWT only deployment the class <code>FileSettingStoreFactory</code> will be used instead.</li>
</ul>
</documentation>

Back to the top