deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r900214 - in /websites/staging/deltaspike/trunk/content: ./ core.html
Date Thu, 06 Mar 2014 08:29:33 GMT
Author: buildbot
Date: Thu Mar  6 08:29:32 2014
New Revision: 900214

Log:
Staging update by buildbot for deltaspike

Modified:
    websites/staging/deltaspike/trunk/content/   (props changed)
    websites/staging/deltaspike/trunk/content/core.html

Propchange: websites/staging/deltaspike/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Mar  6 08:29:32 2014
@@ -1 +1 @@
-1573374
+1574800

Modified: websites/staging/deltaspike/trunk/content/core.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/core.html (original)
+++ websites/staging/deltaspike/trunk/content/core.html Thu Mar  6 08:29:32 2014
@@ -102,7 +102,7 @@
 </li>
 </ul>
 </li>
-<li><a href="#external-resource-loading">External Resource Loading</a></li>
+<li><a href="#injecting-resources">Injecting Resources</a></li>
 <li><a href="#exception-control">Exception Control</a></li>
 <li><a href="#exception-handling-usage">Exception Handling - Usage</a><ul>
 <li><a href="#eventing-into-the-exception-handling-framework">Eventing into the
exception handling framework</a></li>
@@ -413,15 +413,15 @@ In case of a message-key, the message-re
 <p>A locale resolver provides the current locale. The locale is e.g. used to by a <code>MessageResolver</code>
to choose the correct language for the message-text.</p>
 <p><strong>Configuration of a locale-resolver</strong></p>
 <p>[TODO]</p>
-<h2 id="external-resource-loading">External Resource Loading</h2>
+<h2 id="injecting-resources">Injecting Resources</h2>
 <p>DeltaSpike has simple APIs for performing basic resource loading and property file
reading.</p>
 <div class="codehilite"><pre><span class="nd">@Inject</span>
-<span class="nd">@ExternalResource</span><span class="o">(</span><span
class="s">&quot;myfile.properties&quot;</span><span class="o">)</span>
+<span class="nd">@InjectableResource</span><span class="o">(</span><span
class="s">&quot;myfile.properties&quot;</span><span class="o">)</span>
 <span class="kd">private</span> <span class="n">InputStream</span>
<span class="n">inputStream</span><span class="o">;</span>
 </pre></div>
 
 
-<p>This can be used to read files, from classpath or on your local file system, using
two default implementations: <code>ClasspathResourceProvider</code> and <code>FileResourceProvider</code>.
 They can be extended as well by implementing the <code>ExternalResourceProvider</code>
interface to allow reading from alternate sources, if needed (e.g. database LOBs, NoSQL storage
areas).</p>
+<p>This can be used to read files, from classpath or on your local file system, using
two default implementations: <code>ClasspathResourceProvider</code> and <code>FileResourceProvider</code>.
 They can be extended as well by implementing the <code>InjectableResourceProvider</code>
interface to allow reading from alternate sources, if needed (e.g. database LOBs, NoSQL storage
areas).</p>
 <h2 id="exception-control">Exception Control</h2>
 <p>Exception handling in DeltaSpike is based around the CDI eventing model.  While
 the implementation of exception handlers may not be the same as a CDI event,



Mime
View raw message