[webbeans-commits] Webbeans SVN: r1814 - doc/trunk/reference/it-IT.
by webbeans-commits@lists.jboss.org
Author: nico.ben
Date: 2009-03-08 12:05:27 -0400 (Sun, 08 Mar 2009)
New Revision: 1814
Modified:
doc/trunk/reference/it-IT/ri-spi.po
Log:
Italian translation
Modified: doc/trunk/reference/it-IT/ri-spi.po
===================================================================
--- doc/trunk/reference/it-IT/ri-spi.po 2009-03-08 15:59:54 UTC (rev 1813)
+++ doc/trunk/reference/it-IT/ri-spi.po 2009-03-08 16:05:27 UTC (rev 1814)
@@ -5,8 +5,8 @@
msgstr ""
"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
-"PO-Revision-Date: 2009-02-28 15:03+0100\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
+"PO-Revision-Date: 2009-03-08 17:04+0100\n"
"Last-Translator: Nicola Benaglia <nico.benaz(a)gmail.com>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
@@ -300,73 +300,73 @@
msgstr "La risoluzione di <literal>@EJB</literal>, <literal>@PersistenceContext</literal> e <literal>@Resource</literal> è delegata al container. Occorre fornire un'implementazione di <literal>org.jboss.webbeans.ejb.spi.EjbResolver</literal> che rende disponibili queste operazioni. Web Beans passa nel <literal>javax.inject.manager.InjectionPoint</literal> la risoluzione, anche come <literal>NamingContext</literal>, che è in uso per ogni richiesta di risoluzione."
#. Tag: title
-#: ri-spi.xml:94
+#: ri-spi.xml:104
#, no-c-format
msgid "The application context"
msgstr "Il contesto applicazione"
#. Tag: para
-#: ri-spi.xml:96
+#: ri-spi.xml:106
#, no-c-format
msgid "Web Beans expects the Application Server or other container to provide the storage for each application's context. The <literal>org.jboss.webbeans.context.api.BeanStore</literal> should be implemented to provide an application scoped storage. You may find <literal>org.jboss.webbeans.context.api.helpers.ConcurrentHashMapBeanStore</literal> useful."
msgstr "Web Beans si aspetta che l'Application Server od un altro container fornisca la memorizzazione per ogni contesto applicazione. <literal>org.jboss.webbeans.context.api.BeanStore</literal> dovrebbe essere implementato per fornire uno storage con scope applicazione. Si può trovare molto utile <literal>org.jboss.webbeans.context.api.helpers.ConcurrentHashMapBeanStore</literal>."
#. Tag: title
-#: ri-spi.xml:109
+#: ri-spi.xml:119
#, no-c-format
msgid "Bootstrap and shutdown"
msgstr "Bootstrap e spegnimento"
#. Tag: para
-#: ri-spi.xml:110
+#: ri-spi.xml:120
#, no-c-format
msgid "The <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal> interface defines the bootstrap for Web Beans. To boot Web Beans, you must obtain an instance of <literal>org.jboss.webbeans.bootstrap.WebBeansBootstrap</literal> (which implements <literal>Boostrap</literal>), tell it about the SPIs in use, and then request the container start."
msgstr "L'interfaccia <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal> definisce il bootstrap per Web Beans. Per avviare Web Beans occorre ottenere un'istanza di <literal>org.jboss.webbeans.bootstrap.WebBeansBootstrap</literal> (che implementa <literal>Boostrap</literal>), e comunicare le SPI in uso, e poi chiedere che il container venga avviato."
#. Tag: para
-#: ri-spi.xml:119
+#: ri-spi.xml:129
#, no-c-format
msgid "The bootstrap is split into phases, bootstrap initialization and bootstrap. Initialization will create a manager, and add the standard (specification defined) contexts. Bootstrap will discover EJBs, classes and XML; add beans defined using annotations; add beans defined using XML; and validate all beans."
msgstr "Il bootstrap è suddiviso in due fasi, inizializzazione del bootstrap e bootstrap. L'inizializzazione creerà un manager, e aggiungerà i contesti standard (definiti dalla specifica). Bootstrap scoprirà EJB, classi e XML; aggiungerà i bean definiti con le annotazioni; aggiungerà i bean definiti con XML; e validerà tutti i bean."
#. Tag: para
-#: ri-spi.xml:127
+#: ri-spi.xml:137
#, no-c-format
msgid "To initialize the bootstrap you call <literal>Bootstrap.initialize()</literal>. Before calling <literal>initialize()</literal> you must have called <literal>Bootstrap.setEjbResolver()</literal>. If you are not using the built in <literal>DefaultNamingContext</literal> or the built in <literal>DefaultResourceLoader</literal> you must set these before calling <literal>initialize()</literal>."
msgstr "Per inizializzare il bootstrap si chiama <literal>Bootstrap.initialize()</literal>. Prima della chiamata di <literal>initialize()</literal> occorre aver chiamato <literal>Bootstrap.setEjbResolver()</literal>. Se non si usa il <literal>DefaultNamingContext</literal> o <literal>DefaultResourceLoader</literal> predefiniti, occorre impostare questi prima di chiamare <literal>initialize()</literal>."
#. Tag: para
-#: ri-spi.xml:137
+#: ri-spi.xml:147
#, no-c-format
msgid "Having called <literal>initialize()</literal>, the <literal>Manager</literal> can be obtained by calling <literal>Bootstrap.getManager()</literal>."
msgstr "Dopo aver chiamato <literal>initialize()</literal>, il <literal>Manager</literal> può essere ottenuto chiamando <literal>Bootstrap.getManager()</literal>."
#. Tag: para
-#: ri-spi.xml:143
+#: ri-spi.xml:153
#, no-c-format
msgid "To boot the container you call <literal>Bootstrap.boot()</literal>. Before calling <literal>boot()</literal> you must have called <literal>Bootstrap.setWebBeanDiscovery()</literal>, <literal>Bootstrap.setEjbDiscovery()</literal> and <literal>Bootstrap.setApplicationContext()</literal>."
msgstr "Per avviare il container si chiama <literal>Bootstrap.boot()</literal>. Prima di chiamare <literal>boot()</literal> occorre aver chiamato <literal>Bootstrap.setWebBeanDiscovery()</literal>, <literal>Bootstrap.setEjbDiscovery()</literal> e <literal>Bootstrap.setApplicationContext()</literal>."
#. Tag: para
-#: ri-spi.xml:151
+#: ri-spi.xml:161
#, no-c-format
msgid "To shutdown the container you call <literal>Bootstrap.shutdown()</literal>. This allows the container to perform any cleanup operations needed."
msgstr "Per spegnere il container si chiama <literal>Bootstrap.shutdown()</literal>. Questo consente al container di eseguire ogni pulizia necessaria delle operazioni."
#. Tag: title
-#: ri-spi.xml:160
+#: ri-spi.xml:170
#, no-c-format
msgid "JNDI"
msgstr "JNDI"
#. Tag: para
-#: ri-spi.xml:162
+#: ri-spi.xml:172
#, no-c-format
msgid "The Web Beans RI implements JNDI binding and lookup according to standards, however you may want to alter the binding and lookup (for example in an environment where JNDI isn't available). To do this, implement <literal>org.jboss.webbeans.resources.spi.NamingContext</literal>:"
msgstr "Web Beans RI implementa la ricerca e l'associazione JNDI secondo gli standard, ma può capitare di dover modificare la ricerca e l'associazione (per esempio in un ambiente dove JNDI non è disponibile). Per fare questo occorre implementare <literal>org.jboss.webbeans.resources.spi.NamingContext</literal>:"
#. Tag: programlisting
-#: ri-spi.xml:170
+#: ri-spi.xml:180
#, no-c-format
msgid ""
"<![CDATA[public interface NamingContext extends Serializable {\n"
@@ -414,19 +414,19 @@
"}]]>"
#. Tag: title
-#: ri-spi.xml:175
+#: ri-spi.xml:185
#, no-c-format
msgid "Resource loading"
msgstr "Caricamento risorse"
#. Tag: para
-#: ri-spi.xml:177
+#: ri-spi.xml:187
#, no-c-format
msgid "The Web Beans RI needs to load classes and resources from the classpath at various times. By default, they are loaded from the same classloader that was used to load the RI, however this may not be correct for some environments. If this is case, you can implement <literal>org.jboss.webbeans.spi.ResourceLoader</literal>:"
msgstr "Web Beans RI deve caricare le classi e le risorse dal classpath in vari momenti. Di default vengono caricati dallo stesso classloader usato per caricare RI, comunque questo potrebbe non essere corretto in alcuni ambienti. Se è questo il caso si può implementare <literal>org.jboss.webbeans.spi.ResourceLoader</literal>:"
#. Tag: programlisting
-#: ri-spi.xml:185
+#: ri-spi.xml:195
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -490,61 +490,97 @@
" ]]>"
#. Tag: title
-#: ri-spi.xml:192
+#: ri-spi.xml:200
#, no-c-format
+msgid "Servlet injection"
+msgstr "Iniezione dei servlet"
+
+#. Tag: para
+#: ri-spi.xml:202
+#, no-c-format
+msgid "Java EE / Servlet does not provide any hooks which can be used to provide injection into Servlets, so Web Beans provides an API to allow the container to request JSR-299 injection for a Servlet."
+msgstr "Java EE / Servlet non fornisce alcun hook da usare per fornire l'iniezione nei Servlet, quindi Web Beans fornisce un'API per consentire al container di richiedere l'iniezione JSR-299 per un Servlet."
+
+#. Tag: para
+#: ri-spi.xml:208
+#, no-c-format
+msgid "To be compliant with JSR-299, the container should request servlet injection for each newly instantiated servlet after the constructor returns and before the servlet is placed into service."
+msgstr "Per soddisfare la JSR-299 il container deve richiedere l'iniezione servlet per ogni nuovo servlet istanziato dopo che il costruttore ritorni e prima che il servlet sia messo in servizio."
+
+#. Tag: para
+#: ri-spi.xml:214
+#, no-c-format
+msgid "To perform injection on a servlet call <literal>WebBeansManager.injectServlet()</literal>. The manager can be obtained from <literal>Bootstrap.getManager()</literal>."
+msgstr "Per eseguire l'iniezione su un servlet si chiami <literal>WebBeansManager.injectServlet()</literal>. Il manager può essere ottenuto da <literal>Bootstrap.getManager()</literal>."
+
+#. Tag: title
+#: ri-spi.xml:225
+#, no-c-format
msgid "The contract with the container"
msgstr "Il contratto con il container"
#. Tag: para
-#: ri-spi.xml:194
+#: ri-spi.xml:227
#, no-c-format
msgid "There are a number of requirements that the Web Beans RI places on the container for correct functioning that fall outside implementation of APIs"
msgstr "Per il corretto funzionamento al di fuori dell'implementazione delle API, ci sono un numero di requisiti che Web Beans RI pone nel container."
#. Tag: term
-#: ri-spi.xml:202
+#: ri-spi.xml:235
#, no-c-format
msgid "Classloader isolation"
msgstr "Isolamento del classloader"
#. Tag: para
-#: ri-spi.xml:206
+#: ri-spi.xml:239
#, no-c-format
msgid "If you are integrating the Web Beans RI into an environment that supports deployment of multiple applications, you must enable, automatically, or through user configuation, classloader isolation for each Web Beans application."
msgstr "Se si integra Web Beans in un ambiente che supporta il deploy di applicazioni, occorre abilitare, automaticamente o attraverso la configurazione utente, l'isolamento del classloader per ogni applicazione Web Beans."
#. Tag: term
-#: ri-spi.xml:215
+#: ri-spi.xml:248
#, no-c-format
-msgid "Servlet listener"
-msgstr "Servlet listener"
+msgid "Servlet listener and filters"
+msgstr "Servlet listener e filtri"
#. Tag: para
-#: ri-spi.xml:219
+#: ri-spi.xml:252
#, no-c-format
msgid "If you are integrating the Web Beans into a Servlet environment you must register <literal>org.jboss.webbeans.servlet.WebBeansListener</literal> as a Servlet listener, either automatically, or through user configuration, for each Web Beans application which uses Servlet."
msgstr "Se si integra Web Beans in un ambiente Servlet occorre registrare <literal>org.jboss.webbeans.servlet.WebBeansListener</literal> come Servlet listener, o automaticamente, o attraverso una configurazione utente, per ciascuna applicazione Web Beans che usa Servlet."
+#. Tag: para
+#: ri-spi.xml:261
+#, no-c-format
+msgid "If you are integrating the Web Beans into a JSF environment you must register <literal>org.jboss.webbeans.servlet.ConversationPropagationFilter</literal> as a Servlet listener, either automatically, or through user configuration, for each Web Beans application which uses JSF. This filter can be registered for all Servlet deployment safely."
+msgstr "Se si integra Web Beans in un ambiente Servlet occorre registrare <literal>org.jboss.webbeans.servlet.ConversationPropagationFilter</literal> come Servlet listener, o automaticamente, o attraverso una configurazione utente, per ciascuna applicazione Web Beans che usa JSF. Questo filtro può venir registrato in modo sicuro per tutti i deploy dei servlet."
+
#. Tag: term
-#: ri-spi.xml:230
+#: ri-spi.xml:273
#, no-c-format
msgid "Session Bean Interceptor"
msgstr "Session Bean Interceptor"
#. Tag: para
-#: ri-spi.xml:234
+#: ri-spi.xml:277
#, no-c-format
msgid "If you are integrating the Web Beans into an EJB environment you must register <literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> as a EJB interceptor for all EJBs in the application, either automatically, or through user configuration, for each Web Beans application which uses enterprise beans."
msgstr "Se si integra Web Beans in un ambiente EJB occorre registrare <literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> come interceptor EJB per ogni EJB dell'applicazione, o automaticamente o attraverso una configurazione utente, per ciascuna applicazione Web Beans che utilizza bean enterprise."
+#. Tag: para
+#: ri-spi.xml:287
+#, no-c-format
+msgid "You must register the <literal>SessionBeanInterceptor</literal> as the inner most interceptor in the stack for all EJBs."
+msgstr "Occorre registrare il <literal>SessionBeanInterceptor</literal> come interceptor più interno allo stack per tutti gli EJB."
+
#. Tag: term
-#: ri-spi.xml:245
+#: ri-spi.xml:295
#, no-c-format
msgid "The <literal>webbeans-ri.jar</literal>"
msgstr "<literal>webbeans-ri.jar</literal>"
#. Tag: para
-#: ri-spi.xml:249
+#: ri-spi.xml:299
#, no-c-format
msgid "If you are integrating the Web Beans into an environment that supports deployment of applications, you must insert the <literal>webbeans-ri.jar</literal> into the applications isolated classloader. It cannot be loaded from a shared classloader."
msgstr "Se si integra Web Beans in un ambiente che supporta il deploy di applicazioni, occorre inserire <literal>webbeans-ri.jar</literal> nel classloader isolato delle applicazioni. Non può essere caricato da un classloader condiviso."
15 years, 9 months
[webbeans-commits] Webbeans SVN: r1813 - in doc/trunk/reference: es-ES and 7 other directories.
by webbeans-commits@lists.jboss.org
Author: nico.ben
Date: 2009-03-08 11:59:54 -0400 (Sun, 08 Mar 2009)
New Revision: 1813
Modified:
doc/trunk/reference/de-DE/ri-spi.po
doc/trunk/reference/es-ES/ri-spi.po
doc/trunk/reference/fr-FR/ri-spi.po
doc/trunk/reference/ja-JP/ri-spi.po
doc/trunk/reference/ko-KR/ri-spi.po
doc/trunk/reference/pot/Author_Group.pot
doc/trunk/reference/pot/Book_Info.pot
doc/trunk/reference/pot/decorators.pot
doc/trunk/reference/pot/ee.pot
doc/trunk/reference/pot/events.pot
doc/trunk/reference/pot/example.pot
doc/trunk/reference/pot/extend.pot
doc/trunk/reference/pot/injection.pot
doc/trunk/reference/pot/interceptors.pot
doc/trunk/reference/pot/intro.pot
doc/trunk/reference/pot/master.pot
doc/trunk/reference/pot/messages.mo
doc/trunk/reference/pot/next.pot
doc/trunk/reference/pot/part1.pot
doc/trunk/reference/pot/part2.pot
doc/trunk/reference/pot/part3.pot
doc/trunk/reference/pot/part4.pot
doc/trunk/reference/pot/producermethods.pot
doc/trunk/reference/pot/ri-spi.pot
doc/trunk/reference/pot/ri.pot
doc/trunk/reference/pot/scopescontexts.pot
doc/trunk/reference/pot/specialization.pot
doc/trunk/reference/pot/stereotypes.pot
doc/trunk/reference/pot/xml.pot
doc/trunk/reference/pt-BR/ri-spi.po
doc/trunk/reference/pt-BR/ri.po
doc/trunk/reference/zh-CN/ri-spi.po
doc/trunk/reference/zh-TW/ri-spi.po
Log:
Regenerated POT and updated all POs
Modified: doc/trunk/reference/de-DE/ri-spi.po
===================================================================
--- doc/trunk/reference/de-DE/ri-spi.po 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/de-DE/ri-spi.po 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: ri-spi\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: 2009-03-05 14:40+1100\n"
"Last-Translator: \n"
"Language-Team: <en(a)li.org>\n"
@@ -135,8 +135,10 @@
"is self-explanatory (the algorithm is described in Section 11.1 of the JSR-"
"299 specification, and isn't repeated here)."
msgstr ""
-"Die Discovery von Web Bean Klassen und <literal>web-bean.xml</literal> Dateien versteht sich von selbst"
-" (der Algorithmus wird in Abschnitt 11.1 der JSR-299 Spezifikation beschrieben, weswegen hier nicht darauf eingegangen wird)."
+"Die Discovery von Web Bean Klassen und <literal>web-bean.xml</literal> "
+"Dateien versteht sich von selbst (der Algorithmus wird in Abschnitt 11.1 der "
+"JSR-299 Spezifikation beschrieben, weswegen hier nicht darauf eingegangen "
+"wird)."
#. Tag: title
#: ri-spi.xml:52
@@ -153,8 +155,10 @@
"literal>. For each EJB in the application an EJBDescriptor should be "
"discovered:"
msgstr ""
-"Die Web Beans RI delegiert auch EJB3 Bean Discovery an den Container, so dass er nicht nach "
-"EJB3-Annotationen scannen oder <literal>ejb-jar.xml</literal> parsen muss. Für jedes EJB in der Anwendung sollte der EJBDescriptor aufgefunden werden:"
+"Die Web Beans RI delegiert auch EJB3 Bean Discovery an den Container, so "
+"dass er nicht nach EJB3-Annotationen scannen oder <literal>ejb-jar.xml</"
+"literal> parsen muss. Für jedes EJB in der Anwendung sollte der "
+"EJBDescriptor aufgefunden werden:"
#. Tag: programlisting
#: ri-spi.xml:61
@@ -341,8 +345,12 @@
"business interface (encapsulating the interface class and jndi name used to "
"look up an instance of the EJB)."
msgstr ""
-"Der <literal>EjbDescriptor</literal> ist recht leicht verständlich und sollte relevante Metadaten wie in der EJB-Spezifikation definiert wiedergeben. Neben diesen beiden Interfaces existiert ein "
-"<literal>BusinessInterfaceDescriptor</literal>, der ein lokales Business-Interface repräsentiert (die Interface-Klasse und den für die Suche einer Instanz des EJB verwendeten jndi-Namens enthaltend)."
+"Der <literal>EjbDescriptor</literal> ist recht leicht verständlich und "
+"sollte relevante Metadaten wie in der EJB-Spezifikation definiert "
+"wiedergeben. Neben diesen beiden Interfaces existiert ein "
+"<literal>BusinessInterfaceDescriptor</literal>, der ein lokales Business-"
+"Interface repräsentiert (die Interface-Klasse und den für die Suche einer "
+"Instanz des EJB verwendeten jndi-Namens enthaltend)."
#. Tag: title
#: ri-spi.xml:77
@@ -367,18 +375,21 @@
"resolution request."
msgstr ""
"Die Auflösung von <literal>@EJB</literal>, <literal>@PersistenceContext</"
-"literal> und <literal>@Resource</literal> wird an den Container delegiert. Sie müssen eine Implemntierung von <literal>org.jboss.webbeans.ejb.spi."
-"EjbResolver</literal> bereitstellen, die diese Operationen liefert. Web Beans gibt an "
-"den <literal>javax.inject.manager.InjectionPoint</literal> weiter für den die Auflösung ist sowie den für jede Auflösungsanfrage verwendeten <literal>NamingContext</literal>."
+"literal> und <literal>@Resource</literal> wird an den Container delegiert. "
+"Sie müssen eine Implemntierung von <literal>org.jboss.webbeans.ejb.spi."
+"EjbResolver</literal> bereitstellen, die diese Operationen liefert. Web "
+"Beans gibt an den <literal>javax.inject.manager.InjectionPoint</literal> "
+"weiter für den die Auflösung ist sowie den für jede Auflösungsanfrage "
+"verwendeten <literal>NamingContext</literal>."
#. Tag: title
-#: ri-spi.xml:94
+#: ri-spi.xml:104
#, no-c-format
msgid "The application context"
msgstr "Der Applikationskontext"
#. Tag: para
-#: ri-spi.xml:96
+#: ri-spi.xml:106
#, no-c-format
msgid ""
"Web Beans expects the Application Server or other container to provide the "
@@ -387,18 +398,21 @@
"application scoped storage. You may find <literal>org.jboss.webbeans.context."
"api.helpers.ConcurrentHashMapBeanStore</literal> useful."
msgstr ""
-"Web Beans erwartet, dass der Applikations-Server oder anderer Container den Speicher für den Kontext jeder Applikation bereitstellt. Der <literal>org.jboss.webbeans."
-"context.api.BeanStore</literal> sollte implementiert sein, um einen durch die Applikation begrenzten Speicher bereitzustellen. Vielleicht finden Sie in diesem Zusammenhang <literal>org.jboss.webbeans.context."
-"api.helpers.ConcurrentHashMapBeanStore</literal> hilfreich."
+"Web Beans erwartet, dass der Applikations-Server oder anderer Container den "
+"Speicher für den Kontext jeder Applikation bereitstellt. Der <literal>org."
+"jboss.webbeans.context.api.BeanStore</literal> sollte implementiert sein, um "
+"einen durch die Applikation begrenzten Speicher bereitzustellen. Vielleicht "
+"finden Sie in diesem Zusammenhang <literal>org.jboss.webbeans.context.api."
+"helpers.ConcurrentHashMapBeanStore</literal> hilfreich."
#. Tag: title
-#: ri-spi.xml:109
+#: ri-spi.xml:119
#, no-c-format
msgid "Bootstrap and shutdown"
msgstr "Bootstrap und Shutdown"
#. Tag: para
-#: ri-spi.xml:110
+#: ri-spi.xml:120
#, no-c-format
msgid ""
"The <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal> interface "
@@ -408,12 +422,14 @@
"SPIs in use, and then request the container start."
msgstr ""
"Das <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal>-Interface "
-"definiert den Bootstrap für Web Beans. Um Web Beans zu booten müssen Sie eine Instanz von <literal>org.jboss.webbeans.bootstrap.WebBeansBootstrap</"
-"literal> erhalten (die <literal>Boostrap</literal> implementiert), diese über die verwendeten "
-"SPIs informieren und dann beim Container um Start anfragen."
+"definiert den Bootstrap für Web Beans. Um Web Beans zu booten müssen Sie "
+"eine Instanz von <literal>org.jboss.webbeans.bootstrap.WebBeansBootstrap</"
+"literal> erhalten (die <literal>Boostrap</literal> implementiert), diese "
+"über die verwendeten SPIs informieren und dann beim Container um Start "
+"anfragen."
#. Tag: para
-#: ri-spi.xml:119
+#: ri-spi.xml:129
#, no-c-format
msgid ""
"The bootstrap is split into phases, bootstrap initialization and bootstrap. "
@@ -422,12 +438,14 @@
"defined using annotations; add beans defined using XML; and validate all "
"beans."
msgstr ""
-"Der Bootstrap ist in Phasen aufgeteilt, Bootstrap Initialisierung und Bootstrap. "
-"Die Initialisierung erstellt einen Manager und fügt die Standard-Kontexte (spezifikationsdefiniert) hinzu. Bootstrap findet EJBs, Klassen und XML auf; fügt unter Verwendung von Annotationen definierte Beans "
-"hinzu; fügt unter Verwendung von XML definierte Beans hinzu; und validiert alle Beans."
+"Der Bootstrap ist in Phasen aufgeteilt, Bootstrap Initialisierung und "
+"Bootstrap. Die Initialisierung erstellt einen Manager und fügt die Standard-"
+"Kontexte (spezifikationsdefiniert) hinzu. Bootstrap findet EJBs, Klassen und "
+"XML auf; fügt unter Verwendung von Annotationen definierte Beans hinzu; fügt "
+"unter Verwendung von XML definierte Beans hinzu; und validiert alle Beans."
#. Tag: para
-#: ri-spi.xml:127
+#: ri-spi.xml:137
#, no-c-format
msgid ""
"To initialize the bootstrap you call <literal>Bootstrap.initialize()</"
@@ -438,23 +456,26 @@
"<literal>initialize()</literal>."
msgstr ""
"Zur Initialisierung des Bootstrap rufen Sie <literal>Bootstrap.initialize()</"
-"literal> auf. Ehe Sie <literal>initialize()</literal> aufrufen, müssen Sie <literal>Bootstrap.setEjbResolver()</literal> aufgerufen haben. Falls Sie nicht den eingebauten <literal>DefaultNamingContext</literal> oder den eingebauten <literal>DefaultResourceLoader</literal> verwenden, so müssen Sie diese setzen, ehe Sie "
-"<literal>initialize()</literal> aufrufen."
+"literal> auf. Ehe Sie <literal>initialize()</literal> aufrufen, müssen Sie "
+"<literal>Bootstrap.setEjbResolver()</literal> aufgerufen haben. Falls Sie "
+"nicht den eingebauten <literal>DefaultNamingContext</literal> oder den "
+"eingebauten <literal>DefaultResourceLoader</literal> verwenden, so müssen "
+"Sie diese setzen, ehe Sie <literal>initialize()</literal> aufrufen."
#. Tag: para
-#: ri-spi.xml:137
+#: ri-spi.xml:147
#, no-c-format
msgid ""
"Having called <literal>initialize()</literal>, the <literal>Manager</"
"literal> can be obtained by calling <literal>Bootstrap.getManager()</"
"literal>."
msgstr ""
-"Nach Aufruf von <literal>initialize()</literal> erhalten Sie den <literal>Manager</"
-"literal> durch Aufruf von <literal>Bootstrap.getManager()</"
+"Nach Aufruf von <literal>initialize()</literal> erhalten Sie den "
+"<literal>Manager</literal> durch Aufruf von <literal>Bootstrap.getManager()</"
"literal>."
#. Tag: para
-#: ri-spi.xml:143
+#: ri-spi.xml:153
#, no-c-format
msgid ""
"To boot the container you call <literal>Bootstrap.boot()</literal>. Before "
@@ -462,28 +483,31 @@
"setWebBeanDiscovery()</literal>, <literal>Bootstrap.setEjbDiscovery()</"
"literal> and <literal>Bootstrap.setApplicationContext()</literal>."
msgstr ""
-"Zum Booten des Containers rufen Sie <literal>Bootstrap.boot()</literal> auf. Ehe Sie <literal>boot()</literal> aufrufen, müssen Sie <literal>Bootstrap."
+"Zum Booten des Containers rufen Sie <literal>Bootstrap.boot()</literal> auf. "
+"Ehe Sie <literal>boot()</literal> aufrufen, müssen Sie <literal>Bootstrap."
"setWebBeanDiscovery()</literal>, <literal>Bootstrap.setEjbDiscovery()</"
-"literal> und <literal>Bootstrap.setApplicationContext()</literal> aufgerufen haben."
+"literal> und <literal>Bootstrap.setApplicationContext()</literal> aufgerufen "
+"haben."
#. Tag: para
-#: ri-spi.xml:151
+#: ri-spi.xml:161
#, no-c-format
msgid ""
"To shutdown the container you call <literal>Bootstrap.shutdown()</literal>. "
"This allows the container to perform any cleanup operations needed."
msgstr ""
-"Um den Container herunterzufahren, rufen Sie you call <literal>Bootstrap.shutdown()</literal> auf. "
-"Dies gestattet es dem Container notwendige Bereinigungsvorgänge durchzuführen."
+"Um den Container herunterzufahren, rufen Sie you call <literal>Bootstrap."
+"shutdown()</literal> auf. Dies gestattet es dem Container notwendige "
+"Bereinigungsvorgänge durchzuführen."
#. Tag: title
-#: ri-spi.xml:160
+#: ri-spi.xml:170
#, no-c-format
msgid "JNDI"
msgstr "JNDI"
#. Tag: para
-#: ri-spi.xml:162
+#: ri-spi.xml:172
#, no-c-format
msgid ""
"The Web Beans RI implements JNDI binding and lookup according to standards, "
@@ -492,11 +516,12 @@
"jboss.webbeans.resources.spi.NamingContext</literal>:"
msgstr ""
"Die Web Beans RI implementiert JNDI-Binding und Lookup gemäß Standards, "
-"jedoch möchten Sie vielleicht Binding und Lookup ändern (etwa in einer Umgebung, in der JNDI nicht verfügbar ist). Um dies zu tun, implementieren Sie <literal>org."
-"jboss.webbeans.resources.spi.NamingContext</literal>:"
+"jedoch möchten Sie vielleicht Binding und Lookup ändern (etwa in einer "
+"Umgebung, in der JNDI nicht verfügbar ist). Um dies zu tun, implementieren "
+"Sie <literal>org.jboss.webbeans.resources.spi.NamingContext</literal>:"
#. Tag: programlisting
-#: ri-spi.xml:170
+#: ri-spi.xml:180
#, no-c-format
msgid ""
"<![CDATA[public interface NamingContext extends Serializable {\n"
@@ -544,13 +569,13 @@
"}]]>"
#. Tag: title
-#: ri-spi.xml:175
+#: ri-spi.xml:185
#, no-c-format
msgid "Resource loading"
msgstr "Laden von Ressourcen"
#. Tag: para
-#: ri-spi.xml:177
+#: ri-spi.xml:187
#, no-c-format
msgid ""
"The Web Beans RI needs to load classes and resources from the classpath at "
@@ -559,11 +584,15 @@
"environments. If this is case, you can implement <literal>org.jboss.webbeans."
"spi.ResourceLoader</literal>:"
msgstr ""
-"Die Web Beans RI muss Klassen und Ressourcen zu verschiedenen Zeiten aus dem Klasspfad laden. Standardmäßig werden diese aus demselben Klasslader geladen, der zum laden der RI verwendet wurde, allerdings ist das möglicherweise nicht geeignet für einige Umgebungen. Ist dies der Fall, so können Sie <literal>org.jboss.webbeans."
-"spi.ResourceLoader</literal> implementieren:"
+"Die Web Beans RI muss Klassen und Ressourcen zu verschiedenen Zeiten aus dem "
+"Klasspfad laden. Standardmäßig werden diese aus demselben Klasslader "
+"geladen, der zum laden der RI verwendet wurde, allerdings ist das "
+"möglicherweise nicht geeignet für einige Umgebungen. Ist dies der Fall, so "
+"können Sie <literal>org.jboss.webbeans.spi.ResourceLoader</literal> "
+"implementieren:"
#. Tag: programlisting
-#: ri-spi.xml:185
+#: ri-spi.xml:195
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -627,45 +656,86 @@
" ]]>"
#. Tag: title
-#: ri-spi.xml:192
+#: ri-spi.xml:200
+#, fuzzy, no-c-format
+msgid "Servlet injection"
+msgstr "Servlet-Listener"
+
+#. Tag: para
+#: ri-spi.xml:202
#, no-c-format
+msgid ""
+"Java EE / Servlet does not provide any hooks which can be used to provide "
+"injection into Servlets, so Web Beans provides an API to allow the container "
+"to request JSR-299 injection for a Servlet."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:208
+#, no-c-format
+msgid ""
+"To be compliant with JSR-299, the container should request servlet injection "
+"for each newly instantiated servlet after the constructor returns and before "
+"the servlet is placed into service."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:214
+#, fuzzy, no-c-format
+msgid ""
+"To perform injection on a servlet call <literal>WebBeansManager.injectServlet"
+"()</literal>. The manager can be obtained from <literal>Bootstrap.getManager"
+"()</literal>."
+msgstr ""
+"Nach Aufruf von <literal>initialize()</literal> erhalten Sie den "
+"<literal>Manager</literal> durch Aufruf von <literal>Bootstrap.getManager()</"
+"literal>."
+
+#. Tag: title
+#: ri-spi.xml:225
+#, no-c-format
msgid "The contract with the container"
msgstr "Der Vertrag mit dem Container"
#. Tag: para
-#: ri-spi.xml:194
+#: ri-spi.xml:227
#, no-c-format
msgid ""
"There are a number of requirements that the Web Beans RI places on the "
"container for correct functioning that fall outside implementation of APIs"
msgstr ""
"Es gibt eine Reihe von Voraussetzungen, die Web Beans RI dem Container für "
-"das korrekte Funktionieren von Implementierungen auferlegen, die außerhalb von Implementierung von APIs fallen."
+"das korrekte Funktionieren von Implementierungen auferlegen, die außerhalb "
+"von Implementierung von APIs fallen."
#. Tag: term
-#: ri-spi.xml:202
+#: ri-spi.xml:235
#, no-c-format
msgid "Classloader isolation"
msgstr "Klassenlader-Isolierung"
#. Tag: para
-#: ri-spi.xml:206
+#: ri-spi.xml:239
#, no-c-format
msgid ""
"If you are integrating the Web Beans RI into an environment that supports "
"deployment of multiple applications, you must enable, automatically, or "
"through user configuation, classloader isolation for each Web Beans "
"application."
-msgstr "Falls Sie die Web Beans RI in eine Umgebung integrieren, die das Deployment mehrerer Anwendungen unterstützt, so müssen Sie automatisch oder über Benutzerkonfiguration die Klassenlader-Isolierung für jede Web Beans Anwendung aktivieren."
+msgstr ""
+"Falls Sie die Web Beans RI in eine Umgebung integrieren, die das Deployment "
+"mehrerer Anwendungen unterstützt, so müssen Sie automatisch oder über "
+"Benutzerkonfiguration die Klassenlader-Isolierung für jede Web Beans "
+"Anwendung aktivieren."
#. Tag: term
-#: ri-spi.xml:215
-#, no-c-format
-msgid "Servlet listener"
+#: ri-spi.xml:248
+#, fuzzy, no-c-format
+msgid "Servlet listener and filters"
msgstr "Servlet-Listener"
#. Tag: para
-#: ri-spi.xml:219
+#: ri-spi.xml:252
#, no-c-format
msgid ""
"If you are integrating the Web Beans into a Servlet environment you must "
@@ -673,17 +743,36 @@
"Servlet listener, either automatically, or through user configuration, for "
"each Web Beans application which uses Servlet."
msgstr ""
-"Falls Sie Web Beans in eine Servlet Umgebung integrieren, müssen Sie <literal>org.jboss.webbeans.servlet.WebBeansListener</literal> als einen "
-"Servlet-Listener registrieren, entweder automatisch oder aber durch Benutzerkonfiguration. Dies muss für jede Servlet benutzende Web Beans Applikation erfolgen."
+"Falls Sie Web Beans in eine Servlet Umgebung integrieren, müssen Sie "
+"<literal>org.jboss.webbeans.servlet.WebBeansListener</literal> als einen "
+"Servlet-Listener registrieren, entweder automatisch oder aber durch "
+"Benutzerkonfiguration. Dies muss für jede Servlet benutzende Web Beans "
+"Applikation erfolgen."
+#. Tag: para
+#: ri-spi.xml:261
+#, fuzzy, no-c-format
+msgid ""
+"If you are integrating the Web Beans into a JSF environment you must "
+"register <literal>org.jboss.webbeans.servlet.ConversationPropagationFilter</"
+"literal> as a Servlet listener, either automatically, or through user "
+"configuration, for each Web Beans application which uses JSF. This filter "
+"can be registered for all Servlet deployment safely."
+msgstr ""
+"Falls Sie Web Beans in eine Servlet Umgebung integrieren, müssen Sie "
+"<literal>org.jboss.webbeans.servlet.WebBeansListener</literal> als einen "
+"Servlet-Listener registrieren, entweder automatisch oder aber durch "
+"Benutzerkonfiguration. Dies muss für jede Servlet benutzende Web Beans "
+"Applikation erfolgen."
+
#. Tag: term
-#: ri-spi.xml:230
+#: ri-spi.xml:273
#, no-c-format
msgid "Session Bean Interceptor"
msgstr "Session Bean Interzeptor"
#. Tag: para
-#: ri-spi.xml:234
+#: ri-spi.xml:277
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an EJB environment you must "
@@ -692,17 +781,28 @@
"through user configuration, for each Web Beans application which uses "
"enterprise beans."
msgstr ""
-"Falls Sie Web Beans in eine EJB Umgebung integrieren, müssen Sie <literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> als einen "
-"EJB-Interzeptor für alle EJBs in der Applikation registrieren, entweder automatisch oder aber durch Benutzerkonfiguration. Dies muss für jede Enterprise Beans benutzende Web Beans Applikation erfolgen."
+"Falls Sie Web Beans in eine EJB Umgebung integrieren, müssen Sie "
+"<literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> als einen "
+"EJB-Interzeptor für alle EJBs in der Applikation registrieren, entweder "
+"automatisch oder aber durch Benutzerkonfiguration. Dies muss für jede "
+"Enterprise Beans benutzende Web Beans Applikation erfolgen."
+#. Tag: para
+#: ri-spi.xml:287
+#, no-c-format
+msgid ""
+"You must register the <literal>SessionBeanInterceptor</literal> as the inner "
+"most interceptor in the stack for all EJBs."
+msgstr ""
+
#. Tag: term
-#: ri-spi.xml:245
+#: ri-spi.xml:295
#, no-c-format
msgid "The <literal>webbeans-ri.jar</literal>"
msgstr "Die <literal>webbeans-ri.jar</literal>"
#. Tag: para
-#: ri-spi.xml:249
+#: ri-spi.xml:299
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an environment that supports "
@@ -710,6 +810,7 @@
"literal> into the applications isolated classloader. It cannot be loaded "
"from a shared classloader."
msgstr ""
-"Falls Sie Web Beans in eine Umgebung integrieren, die das Deployment von Anwendungen unterstützt, so müssen Sie die <literal>webbeans-ri.jar</"
-"literal> in den isolierten Klassenlader der Anwendungen einfügen. Das Laden kann nicht aus einem geteilten Klassenlader erfolgen."
-
+"Falls Sie Web Beans in eine Umgebung integrieren, die das Deployment von "
+"Anwendungen unterstützt, so müssen Sie die <literal>webbeans-ri.jar</"
+"literal> in den isolierten Klassenlader der Anwendungen einfügen. Das Laden "
+"kann nicht aus einem geteilten Klassenlader erfolgen."
Modified: doc/trunk/reference/es-ES/ri-spi.po
===================================================================
--- doc/trunk/reference/es-ES/ri-spi.po 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/es-ES/ri-spi.po 2009-03-08 15:59:54 UTC (rev 1813)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: ri-spi\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: 2009-01-20 10:15+1000\n"
"Last-Translator: Gladys Guerrero Lozano <gguerrer(a)redhat.com>\n"
"Language-Team: Spanish <fedora-trans-es(a)redhat.com>\n"
@@ -373,13 +373,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:94
+#: ri-spi.xml:104
#, no-c-format
msgid "The application context"
msgstr ""
#. Tag: para
-#: ri-spi.xml:96
+#: ri-spi.xml:106
#, no-c-format
msgid ""
"Web Beans expects the Application Server or other container to provide the "
@@ -390,13 +390,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:109
+#: ri-spi.xml:119
#, no-c-format
msgid "Bootstrap and shutdown"
msgstr ""
#. Tag: para
-#: ri-spi.xml:110
+#: ri-spi.xml:120
#, no-c-format
msgid ""
"The <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal> interface "
@@ -407,7 +407,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:119
+#: ri-spi.xml:129
#, no-c-format
msgid ""
"The bootstrap is split into phases, bootstrap initialization and bootstrap. "
@@ -418,7 +418,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:127
+#: ri-spi.xml:137
#, no-c-format
msgid ""
"To initialize the bootstrap you call <literal>Bootstrap.initialize()</"
@@ -430,7 +430,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:137
+#: ri-spi.xml:147
#, no-c-format
msgid ""
"Having called <literal>initialize()</literal>, the <literal>Manager</"
@@ -439,7 +439,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:143
+#: ri-spi.xml:153
#, no-c-format
msgid ""
"To boot the container you call <literal>Bootstrap.boot()</literal>. Before "
@@ -449,7 +449,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:151
+#: ri-spi.xml:161
#, no-c-format
msgid ""
"To shutdown the container you call <literal>Bootstrap.shutdown()</literal>. "
@@ -457,13 +457,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:160
+#: ri-spi.xml:170
#, no-c-format
msgid "JNDI"
msgstr "JNDI"
#. Tag: para
-#: ri-spi.xml:162
+#: ri-spi.xml:172
#, fuzzy, no-c-format
msgid ""
"The Web Beans RI implements JNDI binding and lookup according to standards, "
@@ -477,7 +477,7 @@
"implemente <literal>org.jboss.webbeans.spi.resources.NamingContext</literal>:"
#. Tag: programlisting
-#: ri-spi.xml:170
+#: ri-spi.xml:180
#, no-c-format
msgid ""
"<![CDATA[public interface NamingContext extends Serializable {\n"
@@ -525,13 +525,13 @@
"}]]>"
#. Tag: title
-#: ri-spi.xml:175
+#: ri-spi.xml:185
#, no-c-format
msgid "Resource loading"
msgstr "Carga de recurso"
#. Tag: para
-#: ri-spi.xml:177
+#: ri-spi.xml:187
#, no-c-format
msgid ""
"The Web Beans RI needs to load classes and resources from the classpath at "
@@ -547,7 +547,7 @@
"ResourceLoader</literal>:"
#. Tag: programlisting
-#: ri-spi.xml:185
+#: ri-spi.xml:195
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -611,13 +611,46 @@
" ]]>"
#. Tag: title
-#: ri-spi.xml:192
+#: ri-spi.xml:200
+#, fuzzy, no-c-format
+msgid "Servlet injection"
+msgstr "Oyente de Servlet"
+
+#. Tag: para
+#: ri-spi.xml:202
#, no-c-format
+msgid ""
+"Java EE / Servlet does not provide any hooks which can be used to provide "
+"injection into Servlets, so Web Beans provides an API to allow the container "
+"to request JSR-299 injection for a Servlet."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:208
+#, no-c-format
+msgid ""
+"To be compliant with JSR-299, the container should request servlet injection "
+"for each newly instantiated servlet after the constructor returns and before "
+"the servlet is placed into service."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:214
+#, no-c-format
+msgid ""
+"To perform injection on a servlet call <literal>WebBeansManager.injectServlet"
+"()</literal>. The manager can be obtained from <literal>Bootstrap.getManager"
+"()</literal>."
+msgstr ""
+
+#. Tag: title
+#: ri-spi.xml:225
+#, no-c-format
msgid "The contract with the container"
msgstr "El contrato con el contenedor"
#. Tag: para
-#: ri-spi.xml:194
+#: ri-spi.xml:227
#, no-c-format
msgid ""
"There are a number of requirements that the Web Beans RI places on the "
@@ -628,13 +661,13 @@
"API."
#. Tag: term
-#: ri-spi.xml:202
+#: ri-spi.xml:235
#, no-c-format
msgid "Classloader isolation"
msgstr "Aislamiento de classloader"
#. Tag: para
-#: ri-spi.xml:206
+#: ri-spi.xml:239
#, no-c-format
msgid ""
"If you are integrating the Web Beans RI into an environment that supports "
@@ -648,13 +681,13 @@
"través de la configuración del usuario."
#. Tag: term
-#: ri-spi.xml:215
-#, no-c-format
-msgid "Servlet listener"
+#: ri-spi.xml:248
+#, fuzzy, no-c-format
+msgid "Servlet listener and filters"
msgstr "Oyente de Servlet"
#. Tag: para
-#: ri-spi.xml:219
+#: ri-spi.xml:252
#, no-c-format
msgid ""
"If you are integrating the Web Beans into a Servlet environment you must "
@@ -667,14 +700,29 @@
"como oyente de Servlet, ya sea automáticamente o a través de la "
"configuración de usuario, para cada aplicación Web Beans que utiliza Servlet."
+#. Tag: para
+#: ri-spi.xml:261
+#, fuzzy, no-c-format
+msgid ""
+"If you are integrating the Web Beans into a JSF environment you must "
+"register <literal>org.jboss.webbeans.servlet.ConversationPropagationFilter</"
+"literal> as a Servlet listener, either automatically, or through user "
+"configuration, for each Web Beans application which uses JSF. This filter "
+"can be registered for all Servlet deployment safely."
+msgstr ""
+"Si usted está integrando el Web Beans en un entorno de Servlet debe "
+"registrar <literal>org.jboss.webbeans.servlet.WebBeansListener</literal> "
+"como oyente de Servlet, ya sea automáticamente o a través de la "
+"configuración de usuario, para cada aplicación Web Beans que utiliza Servlet."
+
#. Tag: term
-#: ri-spi.xml:230
+#: ri-spi.xml:273
#, no-c-format
msgid "Session Bean Interceptor"
msgstr "Intercepción de sesión de Bean"
#. Tag: para
-#: ri-spi.xml:234
+#: ri-spi.xml:277
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an EJB environment you must "
@@ -689,14 +737,22 @@
"través de la configuración de usuario, para cada aplicación que utilice Web "
"Beans empresariales."
+#. Tag: para
+#: ri-spi.xml:287
+#, no-c-format
+msgid ""
+"You must register the <literal>SessionBeanInterceptor</literal> as the inner "
+"most interceptor in the stack for all EJBs."
+msgstr ""
+
#. Tag: term
-#: ri-spi.xml:245
+#: ri-spi.xml:295
#, no-c-format
msgid "The <literal>webbeans-ri.jar</literal>"
msgstr "El <literal>webbeans-ri.jar</literal>"
#. Tag: para
-#: ri-spi.xml:249
+#: ri-spi.xml:299
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an environment that supports "
Modified: doc/trunk/reference/fr-FR/ri-spi.po
===================================================================
--- doc/trunk/reference/fr-FR/ri-spi.po 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/fr-FR/ri-spi.po 2009-03-08 15:59:54 UTC (rev 1813)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml \n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: 2008-12-20 22:07+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -244,13 +244,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:94
+#: ri-spi.xml:104
#, no-c-format
msgid "The application context"
msgstr ""
#. Tag: para
-#: ri-spi.xml:96
+#: ri-spi.xml:106
#, no-c-format
msgid ""
"Web Beans expects the Application Server or other container to provide the "
@@ -261,13 +261,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:109
+#: ri-spi.xml:119
#, no-c-format
msgid "Bootstrap and shutdown"
msgstr ""
#. Tag: para
-#: ri-spi.xml:110
+#: ri-spi.xml:120
#, no-c-format
msgid ""
"The <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal> interface "
@@ -278,7 +278,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:119
+#: ri-spi.xml:129
#, no-c-format
msgid ""
"The bootstrap is split into phases, bootstrap initialization and bootstrap. "
@@ -289,7 +289,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:127
+#: ri-spi.xml:137
#, no-c-format
msgid ""
"To initialize the bootstrap you call <literal>Bootstrap.initialize()</"
@@ -301,7 +301,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:137
+#: ri-spi.xml:147
#, no-c-format
msgid ""
"Having called <literal>initialize()</literal>, the <literal>Manager</"
@@ -310,7 +310,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:143
+#: ri-spi.xml:153
#, no-c-format
msgid ""
"To boot the container you call <literal>Bootstrap.boot()</literal>. Before "
@@ -320,7 +320,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:151
+#: ri-spi.xml:161
#, no-c-format
msgid ""
"To shutdown the container you call <literal>Bootstrap.shutdown()</literal>. "
@@ -328,13 +328,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:160
+#: ri-spi.xml:170
#, no-c-format
msgid "JNDI"
msgstr ""
#. Tag: para
-#: ri-spi.xml:162
+#: ri-spi.xml:172
#, no-c-format
msgid ""
"The Web Beans RI implements JNDI binding and lookup according to standards, "
@@ -344,7 +344,7 @@
msgstr ""
#. Tag: programlisting
-#: ri-spi.xml:170
+#: ri-spi.xml:180
#, no-c-format
msgid ""
"<![CDATA[public interface NamingContext extends Serializable {\n"
@@ -371,13 +371,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:175
+#: ri-spi.xml:185
#, no-c-format
msgid "Resource loading"
msgstr ""
#. Tag: para
-#: ri-spi.xml:177
+#: ri-spi.xml:187
#, no-c-format
msgid ""
"The Web Beans RI needs to load classes and resources from the classpath at "
@@ -388,7 +388,7 @@
msgstr ""
#. Tag: programlisting
-#: ri-spi.xml:185
+#: ri-spi.xml:195
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -423,13 +423,46 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:192
+#: ri-spi.xml:200
#, no-c-format
+msgid "Servlet injection"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:202
+#, no-c-format
+msgid ""
+"Java EE / Servlet does not provide any hooks which can be used to provide "
+"injection into Servlets, so Web Beans provides an API to allow the container "
+"to request JSR-299 injection for a Servlet."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:208
+#, no-c-format
+msgid ""
+"To be compliant with JSR-299, the container should request servlet injection "
+"for each newly instantiated servlet after the constructor returns and before "
+"the servlet is placed into service."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:214
+#, no-c-format
+msgid ""
+"To perform injection on a servlet call <literal>WebBeansManager.injectServlet"
+"()</literal>. The manager can be obtained from <literal>Bootstrap.getManager"
+"()</literal>."
+msgstr ""
+
+#. Tag: title
+#: ri-spi.xml:225
+#, no-c-format
msgid "The contract with the container"
msgstr ""
#. Tag: para
-#: ri-spi.xml:194
+#: ri-spi.xml:227
#, no-c-format
msgid ""
"There are a number of requirements that the Web Beans RI places on the "
@@ -437,13 +470,13 @@
msgstr ""
#. Tag: term
-#: ri-spi.xml:202
+#: ri-spi.xml:235
#, no-c-format
msgid "Classloader isolation"
msgstr ""
#. Tag: para
-#: ri-spi.xml:206
+#: ri-spi.xml:239
#, no-c-format
msgid ""
"If you are integrating the Web Beans RI into an environment that supports "
@@ -453,13 +486,13 @@
msgstr ""
#. Tag: term
-#: ri-spi.xml:215
+#: ri-spi.xml:248
#, no-c-format
-msgid "Servlet listener"
+msgid "Servlet listener and filters"
msgstr ""
#. Tag: para
-#: ri-spi.xml:219
+#: ri-spi.xml:252
#, no-c-format
msgid ""
"If you are integrating the Web Beans into a Servlet environment you must "
@@ -468,14 +501,25 @@
"each Web Beans application which uses Servlet."
msgstr ""
+#. Tag: para
+#: ri-spi.xml:261
+#, no-c-format
+msgid ""
+"If you are integrating the Web Beans into a JSF environment you must "
+"register <literal>org.jboss.webbeans.servlet.ConversationPropagationFilter</"
+"literal> as a Servlet listener, either automatically, or through user "
+"configuration, for each Web Beans application which uses JSF. This filter "
+"can be registered for all Servlet deployment safely."
+msgstr ""
+
#. Tag: term
-#: ri-spi.xml:230
+#: ri-spi.xml:273
#, no-c-format
msgid "Session Bean Interceptor"
msgstr ""
#. Tag: para
-#: ri-spi.xml:234
+#: ri-spi.xml:277
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an EJB environment you must "
@@ -485,14 +529,22 @@
"enterprise beans."
msgstr ""
+#. Tag: para
+#: ri-spi.xml:287
+#, no-c-format
+msgid ""
+"You must register the <literal>SessionBeanInterceptor</literal> as the inner "
+"most interceptor in the stack for all EJBs."
+msgstr ""
+
#. Tag: term
-#: ri-spi.xml:245
+#: ri-spi.xml:295
#, no-c-format
msgid "The <literal>webbeans-ri.jar</literal>"
msgstr ""
#. Tag: para
-#: ri-spi.xml:249
+#: ri-spi.xml:299
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an environment that supports "
Modified: doc/trunk/reference/ja-JP/ri-spi.po
===================================================================
--- doc/trunk/reference/ja-JP/ri-spi.po 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/ja-JP/ri-spi.po 2009-03-08 15:59:54 UTC (rev 1813)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml \n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: 2008-12-20 22:07+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -244,13 +244,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:94
+#: ri-spi.xml:104
#, no-c-format
msgid "The application context"
msgstr ""
#. Tag: para
-#: ri-spi.xml:96
+#: ri-spi.xml:106
#, no-c-format
msgid ""
"Web Beans expects the Application Server or other container to provide the "
@@ -261,13 +261,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:109
+#: ri-spi.xml:119
#, no-c-format
msgid "Bootstrap and shutdown"
msgstr ""
#. Tag: para
-#: ri-spi.xml:110
+#: ri-spi.xml:120
#, no-c-format
msgid ""
"The <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal> interface "
@@ -278,7 +278,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:119
+#: ri-spi.xml:129
#, no-c-format
msgid ""
"The bootstrap is split into phases, bootstrap initialization and bootstrap. "
@@ -289,7 +289,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:127
+#: ri-spi.xml:137
#, no-c-format
msgid ""
"To initialize the bootstrap you call <literal>Bootstrap.initialize()</"
@@ -301,7 +301,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:137
+#: ri-spi.xml:147
#, no-c-format
msgid ""
"Having called <literal>initialize()</literal>, the <literal>Manager</"
@@ -310,7 +310,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:143
+#: ri-spi.xml:153
#, no-c-format
msgid ""
"To boot the container you call <literal>Bootstrap.boot()</literal>. Before "
@@ -320,7 +320,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:151
+#: ri-spi.xml:161
#, no-c-format
msgid ""
"To shutdown the container you call <literal>Bootstrap.shutdown()</literal>. "
@@ -328,13 +328,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:160
+#: ri-spi.xml:170
#, no-c-format
msgid "JNDI"
msgstr ""
#. Tag: para
-#: ri-spi.xml:162
+#: ri-spi.xml:172
#, no-c-format
msgid ""
"The Web Beans RI implements JNDI binding and lookup according to standards, "
@@ -344,7 +344,7 @@
msgstr ""
#. Tag: programlisting
-#: ri-spi.xml:170
+#: ri-spi.xml:180
#, no-c-format
msgid ""
"<![CDATA[public interface NamingContext extends Serializable {\n"
@@ -371,13 +371,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:175
+#: ri-spi.xml:185
#, no-c-format
msgid "Resource loading"
msgstr ""
#. Tag: para
-#: ri-spi.xml:177
+#: ri-spi.xml:187
#, no-c-format
msgid ""
"The Web Beans RI needs to load classes and resources from the classpath at "
@@ -388,7 +388,7 @@
msgstr ""
#. Tag: programlisting
-#: ri-spi.xml:185
+#: ri-spi.xml:195
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -423,13 +423,46 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:192
+#: ri-spi.xml:200
#, no-c-format
+msgid "Servlet injection"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:202
+#, no-c-format
+msgid ""
+"Java EE / Servlet does not provide any hooks which can be used to provide "
+"injection into Servlets, so Web Beans provides an API to allow the container "
+"to request JSR-299 injection for a Servlet."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:208
+#, no-c-format
+msgid ""
+"To be compliant with JSR-299, the container should request servlet injection "
+"for each newly instantiated servlet after the constructor returns and before "
+"the servlet is placed into service."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:214
+#, no-c-format
+msgid ""
+"To perform injection on a servlet call <literal>WebBeansManager.injectServlet"
+"()</literal>. The manager can be obtained from <literal>Bootstrap.getManager"
+"()</literal>."
+msgstr ""
+
+#. Tag: title
+#: ri-spi.xml:225
+#, no-c-format
msgid "The contract with the container"
msgstr ""
#. Tag: para
-#: ri-spi.xml:194
+#: ri-spi.xml:227
#, no-c-format
msgid ""
"There are a number of requirements that the Web Beans RI places on the "
@@ -437,13 +470,13 @@
msgstr ""
#. Tag: term
-#: ri-spi.xml:202
+#: ri-spi.xml:235
#, no-c-format
msgid "Classloader isolation"
msgstr ""
#. Tag: para
-#: ri-spi.xml:206
+#: ri-spi.xml:239
#, no-c-format
msgid ""
"If you are integrating the Web Beans RI into an environment that supports "
@@ -453,13 +486,13 @@
msgstr ""
#. Tag: term
-#: ri-spi.xml:215
+#: ri-spi.xml:248
#, no-c-format
-msgid "Servlet listener"
+msgid "Servlet listener and filters"
msgstr ""
#. Tag: para
-#: ri-spi.xml:219
+#: ri-spi.xml:252
#, no-c-format
msgid ""
"If you are integrating the Web Beans into a Servlet environment you must "
@@ -468,14 +501,25 @@
"each Web Beans application which uses Servlet."
msgstr ""
+#. Tag: para
+#: ri-spi.xml:261
+#, no-c-format
+msgid ""
+"If you are integrating the Web Beans into a JSF environment you must "
+"register <literal>org.jboss.webbeans.servlet.ConversationPropagationFilter</"
+"literal> as a Servlet listener, either automatically, or through user "
+"configuration, for each Web Beans application which uses JSF. This filter "
+"can be registered for all Servlet deployment safely."
+msgstr ""
+
#. Tag: term
-#: ri-spi.xml:230
+#: ri-spi.xml:273
#, no-c-format
msgid "Session Bean Interceptor"
msgstr ""
#. Tag: para
-#: ri-spi.xml:234
+#: ri-spi.xml:277
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an EJB environment you must "
@@ -485,14 +529,22 @@
"enterprise beans."
msgstr ""
+#. Tag: para
+#: ri-spi.xml:287
+#, no-c-format
+msgid ""
+"You must register the <literal>SessionBeanInterceptor</literal> as the inner "
+"most interceptor in the stack for all EJBs."
+msgstr ""
+
#. Tag: term
-#: ri-spi.xml:245
+#: ri-spi.xml:295
#, no-c-format
msgid "The <literal>webbeans-ri.jar</literal>"
msgstr ""
#. Tag: para
-#: ri-spi.xml:249
+#: ri-spi.xml:299
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an environment that supports "
Modified: doc/trunk/reference/ko-KR/ri-spi.po
===================================================================
--- doc/trunk/reference/ko-KR/ri-spi.po 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/ko-KR/ri-spi.po 2009-03-08 15:59:54 UTC (rev 1813)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: ri-spi\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: 2009-01-19 13:32+1000\n"
"Last-Translator: Eunju Kim <eukim(a)redhat.com>\n"
"Language-Team: Korean <ko(a)li.org>\n"
@@ -378,13 +378,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:94
+#: ri-spi.xml:104
#, no-c-format
msgid "The application context"
msgstr ""
#. Tag: para
-#: ri-spi.xml:96
+#: ri-spi.xml:106
#, no-c-format
msgid ""
"Web Beans expects the Application Server or other container to provide the "
@@ -395,13 +395,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:109
+#: ri-spi.xml:119
#, no-c-format
msgid "Bootstrap and shutdown"
msgstr ""
#. Tag: para
-#: ri-spi.xml:110
+#: ri-spi.xml:120
#, no-c-format
msgid ""
"The <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal> interface "
@@ -412,7 +412,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:119
+#: ri-spi.xml:129
#, no-c-format
msgid ""
"The bootstrap is split into phases, bootstrap initialization and bootstrap. "
@@ -423,7 +423,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:127
+#: ri-spi.xml:137
#, no-c-format
msgid ""
"To initialize the bootstrap you call <literal>Bootstrap.initialize()</"
@@ -435,7 +435,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:137
+#: ri-spi.xml:147
#, no-c-format
msgid ""
"Having called <literal>initialize()</literal>, the <literal>Manager</"
@@ -444,7 +444,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:143
+#: ri-spi.xml:153
#, no-c-format
msgid ""
"To boot the container you call <literal>Bootstrap.boot()</literal>. Before "
@@ -454,7 +454,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:151
+#: ri-spi.xml:161
#, no-c-format
msgid ""
"To shutdown the container you call <literal>Bootstrap.shutdown()</literal>. "
@@ -462,13 +462,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:160
+#: ri-spi.xml:170
#, no-c-format
msgid "JNDI"
msgstr "JNDI"
#. Tag: para
-#: ri-spi.xml:162
+#: ri-spi.xml:172
#, fuzzy, no-c-format
msgid ""
"The Web Beans RI implements JNDI binding and lookup according to standards, "
@@ -482,7 +482,7 @@
"literal>를구현합니다: "
#. Tag: programlisting
-#: ri-spi.xml:170
+#: ri-spi.xml:180
#, no-c-format
msgid ""
"<![CDATA[public interface NamingContext extends Serializable {\n"
@@ -530,13 +530,13 @@
"}]]>"
#. Tag: title
-#: ri-spi.xml:175
+#: ri-spi.xml:185
#, no-c-format
msgid "Resource loading"
msgstr "리소스 불러오기 "
#. Tag: para
-#: ri-spi.xml:177
+#: ri-spi.xml:187
#, no-c-format
msgid ""
"The Web Beans RI needs to load classes and resources from the classpath at "
@@ -551,7 +551,7 @@
"webbeans.spi.ResourceLoader</literal>를 구현할 수 있습니다: "
#. Tag: programlisting
-#: ri-spi.xml:185
+#: ri-spi.xml:195
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -615,13 +615,46 @@
" ]]>"
#. Tag: title
-#: ri-spi.xml:192
+#: ri-spi.xml:200
+#, fuzzy, no-c-format
+msgid "Servlet injection"
+msgstr "Servlet 청취자 "
+
+#. Tag: para
+#: ri-spi.xml:202
#, no-c-format
+msgid ""
+"Java EE / Servlet does not provide any hooks which can be used to provide "
+"injection into Servlets, so Web Beans provides an API to allow the container "
+"to request JSR-299 injection for a Servlet."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:208
+#, no-c-format
+msgid ""
+"To be compliant with JSR-299, the container should request servlet injection "
+"for each newly instantiated servlet after the constructor returns and before "
+"the servlet is placed into service."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:214
+#, no-c-format
+msgid ""
+"To perform injection on a servlet call <literal>WebBeansManager.injectServlet"
+"()</literal>. The manager can be obtained from <literal>Bootstrap.getManager"
+"()</literal>."
+msgstr ""
+
+#. Tag: title
+#: ri-spi.xml:225
+#, no-c-format
msgid "The contract with the container"
msgstr "컨테이너와 계약 "
#. Tag: para
-#: ri-spi.xml:194
+#: ri-spi.xml:227
#, no-c-format
msgid ""
"There are a number of requirements that the Web Beans RI places on the "
@@ -631,13 +664,13 @@
"너에 위치하게 해야 할 여러 요구 사항이 있습니다 "
#. Tag: term
-#: ri-spi.xml:202
+#: ri-spi.xml:235
#, no-c-format
msgid "Classloader isolation"
msgstr "Classloader 분리 "
#. Tag: para
-#: ri-spi.xml:206
+#: ri-spi.xml:239
#, no-c-format
msgid ""
"If you are integrating the Web Beans RI into an environment that supports "
@@ -650,13 +683,13 @@
"정을 통해 반드시 활성화해야 합니다. "
#. Tag: term
-#: ri-spi.xml:215
-#, no-c-format
-msgid "Servlet listener"
+#: ri-spi.xml:248
+#, fuzzy, no-c-format
+msgid "Servlet listener and filters"
msgstr "Servlet 청취자 "
#. Tag: para
-#: ri-spi.xml:219
+#: ri-spi.xml:252
#, no-c-format
msgid ""
"If you are integrating the Web Beans into a Servlet environment you must "
@@ -669,14 +702,29 @@
"jboss.webbeans.servlet.WebBeansListener</literal>를 Servlet 청취자로 등록해"
"야 합니다. "
+#. Tag: para
+#: ri-spi.xml:261
+#, fuzzy, no-c-format
+msgid ""
+"If you are integrating the Web Beans into a JSF environment you must "
+"register <literal>org.jboss.webbeans.servlet.ConversationPropagationFilter</"
+"literal> as a Servlet listener, either automatically, or through user "
+"configuration, for each Web Beans application which uses JSF. This filter "
+"can be registered for all Servlet deployment safely."
+msgstr ""
+"Web Beans를 Servlet 환경으로 통합할 경우, Servlet을 사용하는 각각의 Web "
+"Beans 애플리케이션에 대해 자동으로 또는 사용자 설정을 통해 <literal>org."
+"jboss.webbeans.servlet.WebBeansListener</literal>를 Servlet 청취자로 등록해"
+"야 합니다. "
+
#. Tag: term
-#: ri-spi.xml:230
+#: ri-spi.xml:273
#, no-c-format
msgid "Session Bean Interceptor"
msgstr "Session Bean 인터셉터 "
#. Tag: para
-#: ri-spi.xml:234
+#: ri-spi.xml:277
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an EJB environment you must "
@@ -690,14 +738,22 @@
"로서 <literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal>를 자동"
"으로 또는 사용자 설정을 통해 등록해야 합니다. "
+#. Tag: para
+#: ri-spi.xml:287
+#, no-c-format
+msgid ""
+"You must register the <literal>SessionBeanInterceptor</literal> as the inner "
+"most interceptor in the stack for all EJBs."
+msgstr ""
+
#. Tag: term
-#: ri-spi.xml:245
+#: ri-spi.xml:295
#, no-c-format
msgid "The <literal>webbeans-ri.jar</literal>"
msgstr "<literal>webbeans-ri.jar</literal> "
#. Tag: para
-#: ri-spi.xml:249
+#: ri-spi.xml:299
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an environment that supports "
Modified: doc/trunk/reference/pot/Author_Group.pot
===================================================================
--- doc/trunk/reference/pot/Author_Group.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/Author_Group.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/Book_Info.pot
===================================================================
--- doc/trunk/reference/pot/Book_Info.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/Book_Info.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/decorators.pot
===================================================================
--- doc/trunk/reference/pot/decorators.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/decorators.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/ee.pot
===================================================================
--- doc/trunk/reference/pot/ee.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/ee.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/events.pot
===================================================================
--- doc/trunk/reference/pot/events.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/events.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/example.pot
===================================================================
--- doc/trunk/reference/pot/example.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/example.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/extend.pot
===================================================================
--- doc/trunk/reference/pot/extend.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/extend.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/injection.pot
===================================================================
--- doc/trunk/reference/pot/injection.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/injection.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/interceptors.pot
===================================================================
--- doc/trunk/reference/pot/interceptors.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/interceptors.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/intro.pot
===================================================================
--- doc/trunk/reference/pot/intro.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/intro.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/master.pot
===================================================================
--- doc/trunk/reference/pot/master.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/master.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/messages.mo
===================================================================
(Binary files differ)
Modified: doc/trunk/reference/pot/next.pot
===================================================================
--- doc/trunk/reference/pot/next.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/next.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/part1.pot
===================================================================
--- doc/trunk/reference/pot/part1.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/part1.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/part2.pot
===================================================================
--- doc/trunk/reference/pot/part2.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/part2.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/part3.pot
===================================================================
--- doc/trunk/reference/pot/part3.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/part3.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/part4.pot
===================================================================
--- doc/trunk/reference/pot/part4.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/part4.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/producermethods.pot
===================================================================
--- doc/trunk/reference/pot/producermethods.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/producermethods.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/ri-spi.pot
===================================================================
--- doc/trunk/reference/pot/ri-spi.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/ri-spi.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
@@ -245,13 +245,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:94
+#: ri-spi.xml:104
#, no-c-format
msgid "The application context"
msgstr ""
#. Tag: para
-#: ri-spi.xml:96
+#: ri-spi.xml:106
#, no-c-format
msgid ""
"Web Beans expects the Application Server or other container to provide the "
@@ -262,13 +262,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:109
+#: ri-spi.xml:119
#, no-c-format
msgid "Bootstrap and shutdown"
msgstr ""
#. Tag: para
-#: ri-spi.xml:110
+#: ri-spi.xml:120
#, no-c-format
msgid ""
"The <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal> interface "
@@ -279,7 +279,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:119
+#: ri-spi.xml:129
#, no-c-format
msgid ""
"The bootstrap is split into phases, bootstrap initialization and bootstrap. "
@@ -290,7 +290,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:127
+#: ri-spi.xml:137
#, no-c-format
msgid ""
"To initialize the bootstrap you call <literal>Bootstrap.initialize()</"
@@ -302,7 +302,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:137
+#: ri-spi.xml:147
#, no-c-format
msgid ""
"Having called <literal>initialize()</literal>, the <literal>Manager</"
@@ -311,7 +311,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:143
+#: ri-spi.xml:153
#, no-c-format
msgid ""
"To boot the container you call <literal>Bootstrap.boot()</literal>. Before "
@@ -321,7 +321,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:151
+#: ri-spi.xml:161
#, no-c-format
msgid ""
"To shutdown the container you call <literal>Bootstrap.shutdown()</literal>. "
@@ -329,13 +329,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:160
+#: ri-spi.xml:170
#, no-c-format
msgid "JNDI"
msgstr ""
#. Tag: para
-#: ri-spi.xml:162
+#: ri-spi.xml:172
#, no-c-format
msgid ""
"The Web Beans RI implements JNDI binding and lookup according to standards, "
@@ -345,7 +345,7 @@
msgstr ""
#. Tag: programlisting
-#: ri-spi.xml:170
+#: ri-spi.xml:180
#, no-c-format
msgid ""
"<![CDATA[public interface NamingContext extends Serializable {\n"
@@ -372,13 +372,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:175
+#: ri-spi.xml:185
#, no-c-format
msgid "Resource loading"
msgstr ""
#. Tag: para
-#: ri-spi.xml:177
+#: ri-spi.xml:187
#, no-c-format
msgid ""
"The Web Beans RI needs to load classes and resources from the classpath at "
@@ -389,7 +389,7 @@
msgstr ""
#. Tag: programlisting
-#: ri-spi.xml:185
+#: ri-spi.xml:195
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -424,13 +424,46 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:192
+#: ri-spi.xml:200
#, no-c-format
+msgid "Servlet injection"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:202
+#, no-c-format
+msgid ""
+"Java EE / Servlet does not provide any hooks which can be used to provide "
+"injection into Servlets, so Web Beans provides an API to allow the container "
+"to request JSR-299 injection for a Servlet."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:208
+#, no-c-format
+msgid ""
+"To be compliant with JSR-299, the container should request servlet injection "
+"for each newly instantiated servlet after the constructor returns and before "
+"the servlet is placed into service."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:214
+#, no-c-format
+msgid ""
+"To perform injection on a servlet call <literal>WebBeansManager.injectServlet"
+"()</literal>. The manager can be obtained from <literal>Bootstrap.getManager"
+"()</literal>."
+msgstr ""
+
+#. Tag: title
+#: ri-spi.xml:225
+#, no-c-format
msgid "The contract with the container"
msgstr ""
#. Tag: para
-#: ri-spi.xml:194
+#: ri-spi.xml:227
#, no-c-format
msgid ""
"There are a number of requirements that the Web Beans RI places on the "
@@ -438,13 +471,13 @@
msgstr ""
#. Tag: term
-#: ri-spi.xml:202
+#: ri-spi.xml:235
#, no-c-format
msgid "Classloader isolation"
msgstr ""
#. Tag: para
-#: ri-spi.xml:206
+#: ri-spi.xml:239
#, no-c-format
msgid ""
"If you are integrating the Web Beans RI into an environment that supports "
@@ -454,13 +487,13 @@
msgstr ""
#. Tag: term
-#: ri-spi.xml:215
+#: ri-spi.xml:248
#, no-c-format
-msgid "Servlet listener"
+msgid "Servlet listener and filters"
msgstr ""
#. Tag: para
-#: ri-spi.xml:219
+#: ri-spi.xml:252
#, no-c-format
msgid ""
"If you are integrating the Web Beans into a Servlet environment you must "
@@ -469,14 +502,25 @@
"each Web Beans application which uses Servlet."
msgstr ""
+#. Tag: para
+#: ri-spi.xml:261
+#, no-c-format
+msgid ""
+"If you are integrating the Web Beans into a JSF environment you must "
+"register <literal>org.jboss.webbeans.servlet.ConversationPropagationFilter</"
+"literal> as a Servlet listener, either automatically, or through user "
+"configuration, for each Web Beans application which uses JSF. This filter "
+"can be registered for all Servlet deployment safely."
+msgstr ""
+
#. Tag: term
-#: ri-spi.xml:230
+#: ri-spi.xml:273
#, no-c-format
msgid "Session Bean Interceptor"
msgstr ""
#. Tag: para
-#: ri-spi.xml:234
+#: ri-spi.xml:277
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an EJB environment you must "
@@ -486,14 +530,22 @@
"enterprise beans."
msgstr ""
+#. Tag: para
+#: ri-spi.xml:287
+#, no-c-format
+msgid ""
+"You must register the <literal>SessionBeanInterceptor</literal> as the inner "
+"most interceptor in the stack for all EJBs."
+msgstr ""
+
#. Tag: term
-#: ri-spi.xml:245
+#: ri-spi.xml:295
#, no-c-format
msgid "The <literal>webbeans-ri.jar</literal>"
msgstr ""
#. Tag: para
-#: ri-spi.xml:249
+#: ri-spi.xml:299
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an environment that supports "
Modified: doc/trunk/reference/pot/ri.pot
===================================================================
--- doc/trunk/reference/pot/ri.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/ri.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/scopescontexts.pot
===================================================================
--- doc/trunk/reference/pot/scopescontexts.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/scopescontexts.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/specialization.pot
===================================================================
--- doc/trunk/reference/pot/specialization.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/specialization.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/stereotypes.pot
===================================================================
--- doc/trunk/reference/pot/stereotypes.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/stereotypes.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/xml.pot
===================================================================
--- doc/trunk/reference/pot/xml.pot 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pot/xml.pot 2009-03-08 15:59:54 UTC (rev 1813)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pt-BR/ri-spi.po
===================================================================
--- doc/trunk/reference/pt-BR/ri-spi.po 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pt-BR/ri-spi.po 2009-03-08 15:59:54 UTC (rev 1813)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: Introduction_to_Web_Beans VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: 2009-02-28 15:07-0300\n"
"Last-Translator: João Paulo Viragine <joao.viragine(a)redhat.com>\n"
"Language-Team: none\n"
@@ -22,13 +22,22 @@
#. Tag: para
#: ri-spi.xml:6
#, no-c-format
-msgid "Currently the Web Beans RI only runs in JBoss AS 5; integrating the RI into other EE environments (for example another application server like Glassfish), into a servlet container (like Tomcat), or with an Embedded EJB3.1 implementation is fairly easy. In this Appendix we will briefly discuss the steps needed."
+msgid ""
+"Currently the Web Beans RI only runs in JBoss AS 5; integrating the RI into "
+"other EE environments (for example another application server like "
+"Glassfish), into a servlet container (like Tomcat), or with an Embedded "
+"EJB3.1 implementation is fairly easy. In this Appendix we will briefly "
+"discuss the steps needed."
msgstr ""
#. Tag: para
#: ri-spi.xml:15
#, no-c-format
-msgid "It should be possible to run Web Beans in an SE environment, but you'll to do more work, adding your own contexts and lifecycle. The Web Beans RI currently doesn't expose lifecycle extension points, so you would have to code directly against Web Beans RI classes."
+msgid ""
+"It should be possible to run Web Beans in an SE environment, but you'll to "
+"do more work, adding your own contexts and lifecycle. The Web Beans RI "
+"currently doesn't expose lifecycle extension points, so you would have to "
+"code directly against Web Beans RI classes."
msgstr ""
#. Tag: title
@@ -40,13 +49,18 @@
#. Tag: para
#: ri-spi.xml:26
#, no-c-format
-msgid "The Web Beans SPI is located in <literal>webbeans-ri-spi</literal> module, and packaged as <literal>webbeans-ri-spi.jar</literal>. Some SPIs are optional, if you need to override the default behavior, others are required."
+msgid ""
+"The Web Beans SPI is located in <literal>webbeans-ri-spi</literal> module, "
+"and packaged as <literal>webbeans-ri-spi.jar</literal>. Some SPIs are "
+"optional, if you need to override the default behavior, others are required."
msgstr ""
#. Tag: para
#: ri-spi.xml:33
#, no-c-format
-msgid "All interfaces in the SPI support the decorator pattern and provide a <literal>Forwarding</literal> class."
+msgid ""
+"All interfaces in the SPI support the decorator pattern and provide a "
+"<literal>Forwarding</literal> class."
msgstr ""
#. Tag: title
@@ -61,7 +75,8 @@
msgid ""
"<![CDATA[public interface WebBeanDiscovery {\n"
" /**\n"
-" * Gets list of all classes in classpath archives with web-beans.xml files\n"
+" * Gets list of all classes in classpath archives with web-beans.xml "
+"files\n"
" * \n"
" * @return An iterable over the classes \n"
" */\n"
@@ -78,7 +93,8 @@
msgstr ""
"<![CDATA[public interface WebBeanDiscovery {\n"
" /**\n"
-" * Gets list of all classes in classpath archives with web-beans.xml files\n"
+" * Gets list of all classes in classpath archives with web-beans.xml "
+"files\n"
" * \n"
" * @return An iterable over the classes \n"
" */\n"
@@ -96,7 +112,10 @@
#. Tag: para
#: ri-spi.xml:43
#, no-c-format
-msgid "The discovery of Web Bean classes and <literal>web-bean.xml</literal> files is self-explanatory (the algorithm is described in Section 11.1 of the JSR-299 specification, and isn't repeated here)."
+msgid ""
+"The discovery of Web Bean classes and <literal>web-bean.xml</literal> files "
+"is self-explanatory (the algorithm is described in Section 11.1 of the JSR-"
+"299 specification, and isn't repeated here)."
msgstr ""
#. Tag: title
@@ -108,7 +127,11 @@
#. Tag: para
#: ri-spi.xml:54
#, no-c-format
-msgid "The Web Beans RI also delegates EJB3 bean discovery to the container so that it doesn't have to scan for EJB3 annotations or parse <literal>ejb-jar.xml</literal>. For each EJB in the application an EJBDescriptor should be discovered:"
+msgid ""
+"The Web Beans RI also delegates EJB3 bean discovery to the container so that "
+"it doesn't have to scan for EJB3 annotations or parse <literal>ejb-jar.xml</"
+"literal>. For each EJB in the application an EJBDescriptor should be "
+"discovered:"
msgstr ""
#. Tag: programlisting
@@ -159,14 +182,16 @@
" * \n"
" * @return An iterator over the local business interfaces\n"
" */\n"
-" public Iterable<BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces();\n"
+" public Iterable<BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces"
+"();\n"
" \n"
" /**\n"
" * Gets the remote business interfaces of the EJB\n"
" * \n"
" * @return An iterator over the remote business interfaces\n"
" */\n"
-" public Iterable<BusinessInterfaceDescriptor<?>> getRemoteBusinessInterfaces();\n"
+" public Iterable<BusinessInterfaceDescriptor<?>> "
+"getRemoteBusinessInterfaces();\n"
" \n"
" /**\n"
" * Get the remove methods of the EJB\n"
@@ -227,14 +252,16 @@
" * \n"
" * @return An iterator over the local business interfaces\n"
" */\n"
-" public Iterable<BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces();\n"
+" public Iterable<BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces"
+"();\n"
" \n"
" /**\n"
" * Gets the remote business interfaces of the EJB\n"
" * \n"
" * @return An iterator over the remote business interfaces\n"
" */\n"
-" public Iterable<BusinessInterfaceDescriptor<?>> getRemoteBusinessInterfaces();\n"
+" public Iterable<BusinessInterfaceDescriptor<?>> "
+"getRemoteBusinessInterfaces();\n"
" \n"
" /**\n"
" * Get the remove methods of the EJB\n"
@@ -284,89 +311,138 @@
#. Tag: para
#: ri-spi.xml:65
#, no-c-format
-msgid "The <literal>EjbDescriptor</literal> is fairly self-explanatory, and should return the relevant metadata as defined in the EJB specification. In addition to these two interfaces, there is <literal>BusinessInterfaceDescriptor</literal> which represents a local business interface (encapsulating the interface class and jndi name used to look up an instance of the EJB)."
+msgid ""
+"The <literal>EjbDescriptor</literal> is fairly self-explanatory, and should "
+"return the relevant metadata as defined in the EJB specification. In "
+"addition to these two interfaces, there is "
+"<literal>BusinessInterfaceDescriptor</literal> which represents a local "
+"business interface (encapsulating the interface class and jndi name used to "
+"look up an instance of the EJB)."
msgstr ""
#. Tag: title
#: ri-spi.xml:77
#, no-c-format
-msgid "<literal>@EJB</literal>, <literal>@PersistenceContext</literal> and <literal>@Resource</literal> resolution"
+msgid ""
+"<literal>@EJB</literal>, <literal>@PersistenceContext</literal> and "
+"<literal>@Resource</literal> resolution"
msgstr ""
#. Tag: para
#: ri-spi.xml:79
#, no-c-format
-msgid "The resolution of <literal>@EJB</literal>, <literal>@PersistenceContext</literal> and <literal>@Resource</literal> is delegated to the container. You must provide an implementation of <literal>org.jboss.webbeans.ejb.spi.EjbResolver</literal> which provides these operations. Web Beans passes in the <literal>javax.inject.manager.InjectionPoint</literal> the resolution is for, as well as the <literal>NamingContext</literal> in use for each resolution request."
+msgid ""
+"The resolution of <literal>@EJB</literal>, <literal>@PersistenceContext</"
+"literal> and <literal>@Resource</literal> is delegated to the container. You "
+"must provide an implementation of <literal>org.jboss.webbeans.ejb.spi."
+"EjbResolver</literal> which provides these operations. Web Beans passes in "
+"the <literal>javax.inject.manager.InjectionPoint</literal> the resolution is "
+"for, as well as the <literal>NamingContext</literal> in use for each "
+"resolution request."
msgstr ""
#. Tag: title
-#: ri-spi.xml:94
+#: ri-spi.xml:104
#, fuzzy, no-c-format
msgid "The application context"
msgstr "Contexto SELinux"
#. Tag: para
-#: ri-spi.xml:96
+#: ri-spi.xml:106
#, no-c-format
-msgid "Web Beans expects the Application Server or other container to provide the storage for each application's context. The <literal>org.jboss.webbeans.context.api.BeanStore</literal> should be implemented to provide an application scoped storage. You may find <literal>org.jboss.webbeans.context.api.helpers.ConcurrentHashMapBeanStore</literal> useful."
+msgid ""
+"Web Beans expects the Application Server or other container to provide the "
+"storage for each application's context. The <literal>org.jboss.webbeans."
+"context.api.BeanStore</literal> should be implemented to provide an "
+"application scoped storage. You may find <literal>org.jboss.webbeans.context."
+"api.helpers.ConcurrentHashMapBeanStore</literal> useful."
msgstr ""
#. Tag: title
-#: ri-spi.xml:109
+#: ri-spi.xml:119
#, fuzzy, no-c-format
msgid "Bootstrap and shutdown"
msgstr "Recebido pedido para desligar"
#. Tag: para
-#: ri-spi.xml:110
+#: ri-spi.xml:120
#, no-c-format
-msgid "The <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal> interface defines the bootstrap for Web Beans. To boot Web Beans, you must obtain an instance of <literal>org.jboss.webbeans.bootstrap.WebBeansBootstrap</literal> (which implements <literal>Boostrap</literal>), tell it about the SPIs in use, and then request the container start."
+msgid ""
+"The <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal> interface "
+"defines the bootstrap for Web Beans. To boot Web Beans, you must obtain an "
+"instance of <literal>org.jboss.webbeans.bootstrap.WebBeansBootstrap</"
+"literal> (which implements <literal>Boostrap</literal>), tell it about the "
+"SPIs in use, and then request the container start."
msgstr ""
#. Tag: para
-#: ri-spi.xml:119
+#: ri-spi.xml:129
#, no-c-format
-msgid "The bootstrap is split into phases, bootstrap initialization and bootstrap. Initialization will create a manager, and add the standard (specification defined) contexts. Bootstrap will discover EJBs, classes and XML; add beans defined using annotations; add beans defined using XML; and validate all beans."
+msgid ""
+"The bootstrap is split into phases, bootstrap initialization and bootstrap. "
+"Initialization will create a manager, and add the standard (specification "
+"defined) contexts. Bootstrap will discover EJBs, classes and XML; add beans "
+"defined using annotations; add beans defined using XML; and validate all "
+"beans."
msgstr ""
#. Tag: para
-#: ri-spi.xml:127
+#: ri-spi.xml:137
#, no-c-format
-msgid "To initialize the bootstrap you call <literal>Bootstrap.initialize()</literal>. Before calling <literal>initialize()</literal> you must have called <literal>Bootstrap.setEjbResolver()</literal>. If you are not using the built in <literal>DefaultNamingContext</literal> or the built in <literal>DefaultResourceLoader</literal> you must set these before calling <literal>initialize()</literal>."
+msgid ""
+"To initialize the bootstrap you call <literal>Bootstrap.initialize()</"
+"literal>. Before calling <literal>initialize()</literal> you must have "
+"called <literal>Bootstrap.setEjbResolver()</literal>. If you are not using "
+"the built in <literal>DefaultNamingContext</literal> or the built in "
+"<literal>DefaultResourceLoader</literal> you must set these before calling "
+"<literal>initialize()</literal>."
msgstr ""
#. Tag: para
-#: ri-spi.xml:137
+#: ri-spi.xml:147
#, no-c-format
-msgid "Having called <literal>initialize()</literal>, the <literal>Manager</literal> can be obtained by calling <literal>Bootstrap.getManager()</literal>."
+msgid ""
+"Having called <literal>initialize()</literal>, the <literal>Manager</"
+"literal> can be obtained by calling <literal>Bootstrap.getManager()</"
+"literal>."
msgstr ""
#. Tag: para
-#: ri-spi.xml:143
+#: ri-spi.xml:153
#, no-c-format
-msgid "To boot the container you call <literal>Bootstrap.boot()</literal>. Before calling <literal>boot()</literal> you must have called <literal>Bootstrap.setWebBeanDiscovery()</literal>, <literal>Bootstrap.setEjbDiscovery()</literal> and <literal>Bootstrap.setApplicationContext()</literal>."
+msgid ""
+"To boot the container you call <literal>Bootstrap.boot()</literal>. Before "
+"calling <literal>boot()</literal> you must have called <literal>Bootstrap."
+"setWebBeanDiscovery()</literal>, <literal>Bootstrap.setEjbDiscovery()</"
+"literal> and <literal>Bootstrap.setApplicationContext()</literal>."
msgstr ""
#. Tag: para
-#: ri-spi.xml:151
+#: ri-spi.xml:161
#, no-c-format
-msgid "To shutdown the container you call <literal>Bootstrap.shutdown()</literal>. This allows the container to perform any cleanup operations needed."
+msgid ""
+"To shutdown the container you call <literal>Bootstrap.shutdown()</literal>. "
+"This allows the container to perform any cleanup operations needed."
msgstr ""
#. Tag: title
-#: ri-spi.xml:160
+#: ri-spi.xml:170
#, no-c-format
msgid "JNDI"
msgstr "JNDI"
#. Tag: para
-#: ri-spi.xml:162
+#: ri-spi.xml:172
#, no-c-format
-msgid "The Web Beans RI implements JNDI binding and lookup according to standards, however you may want to alter the binding and lookup (for example in an environment where JNDI isn't available). To do this, implement <literal>org.jboss.webbeans.resources.spi.NamingContext</literal>:"
+msgid ""
+"The Web Beans RI implements JNDI binding and lookup according to standards, "
+"however you may want to alter the binding and lookup (for example in an "
+"environment where JNDI isn't available). To do this, implement <literal>org."
+"jboss.webbeans.resources.spi.NamingContext</literal>:"
msgstr ""
#. Tag: programlisting
-#: ri-spi.xml:170
+#: ri-spi.xml:180
#, no-c-format
msgid ""
"<![CDATA[public interface NamingContext extends Serializable {\n"
@@ -414,19 +490,24 @@
"}]]>"
#. Tag: title
-#: ri-spi.xml:175
+#: ri-spi.xml:185
#, no-c-format
msgid "Resource loading"
msgstr "Carregando recursos"
#. Tag: para
-#: ri-spi.xml:177
+#: ri-spi.xml:187
#, no-c-format
-msgid "The Web Beans RI needs to load classes and resources from the classpath at various times. By default, they are loaded from the same classloader that was used to load the RI, however this may not be correct for some environments. If this is case, you can implement <literal>org.jboss.webbeans.spi.ResourceLoader</literal>:"
+msgid ""
+"The Web Beans RI needs to load classes and resources from the classpath at "
+"various times. By default, they are loaded from the same classloader that "
+"was used to load the RI, however this may not be correct for some "
+"environments. If this is case, you can implement <literal>org.jboss.webbeans."
+"spi.ResourceLoader</literal>:"
msgstr ""
#. Tag: programlisting
-#: ri-spi.xml:185
+#: ri-spi.xml:195
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -490,63 +571,134 @@
" ]]>"
#. Tag: title
-#: ri-spi.xml:192
+#: ri-spi.xml:200
+#, fuzzy, no-c-format
+msgid "Servlet injection"
+msgstr "Servlet listener"
+
+#. Tag: para
+#: ri-spi.xml:202
#, no-c-format
+msgid ""
+"Java EE / Servlet does not provide any hooks which can be used to provide "
+"injection into Servlets, so Web Beans provides an API to allow the container "
+"to request JSR-299 injection for a Servlet."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:208
+#, no-c-format
+msgid ""
+"To be compliant with JSR-299, the container should request servlet injection "
+"for each newly instantiated servlet after the constructor returns and before "
+"the servlet is placed into service."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:214
+#, no-c-format
+msgid ""
+"To perform injection on a servlet call <literal>WebBeansManager.injectServlet"
+"()</literal>. The manager can be obtained from <literal>Bootstrap.getManager"
+"()</literal>."
+msgstr ""
+
+#. Tag: title
+#: ri-spi.xml:225
+#, no-c-format
msgid "The contract with the container"
msgstr "O contrato com o container"
#. Tag: para
-#: ri-spi.xml:194
+#: ri-spi.xml:227
#, no-c-format
-msgid "There are a number of requirements that the Web Beans RI places on the container for correct functioning that fall outside implementation of APIs"
+msgid ""
+"There are a number of requirements that the Web Beans RI places on the "
+"container for correct functioning that fall outside implementation of APIs"
msgstr ""
#. Tag: term
-#: ri-spi.xml:202
+#: ri-spi.xml:235
#, no-c-format
msgid "Classloader isolation"
msgstr "Isolamento de Classloader (Classloader isolation)"
#. Tag: para
-#: ri-spi.xml:206
+#: ri-spi.xml:239
#, no-c-format
-msgid "If you are integrating the Web Beans RI into an environment that supports deployment of multiple applications, you must enable, automatically, or through user configuation, classloader isolation for each Web Beans application."
+msgid ""
+"If you are integrating the Web Beans RI into an environment that supports "
+"deployment of multiple applications, you must enable, automatically, or "
+"through user configuation, classloader isolation for each Web Beans "
+"application."
msgstr ""
#. Tag: term
-#: ri-spi.xml:215
-#, no-c-format
-msgid "Servlet listener"
+#: ri-spi.xml:248
+#, fuzzy, no-c-format
+msgid "Servlet listener and filters"
msgstr "Servlet listener"
#. Tag: para
-#: ri-spi.xml:219
+#: ri-spi.xml:252
#, no-c-format
-msgid "If you are integrating the Web Beans into a Servlet environment you must register <literal>org.jboss.webbeans.servlet.WebBeansListener</literal> as a Servlet listener, either automatically, or through user configuration, for each Web Beans application which uses Servlet."
+msgid ""
+"If you are integrating the Web Beans into a Servlet environment you must "
+"register <literal>org.jboss.webbeans.servlet.WebBeansListener</literal> as a "
+"Servlet listener, either automatically, or through user configuration, for "
+"each Web Beans application which uses Servlet."
msgstr ""
+#. Tag: para
+#: ri-spi.xml:261
+#, no-c-format
+msgid ""
+"If you are integrating the Web Beans into a JSF environment you must "
+"register <literal>org.jboss.webbeans.servlet.ConversationPropagationFilter</"
+"literal> as a Servlet listener, either automatically, or through user "
+"configuration, for each Web Beans application which uses JSF. This filter "
+"can be registered for all Servlet deployment safely."
+msgstr ""
+
#. Tag: term
-#: ri-spi.xml:230
+#: ri-spi.xml:273
#, no-c-format
msgid "Session Bean Interceptor"
msgstr "Interceptador de Session Bean (Session Bean Interceptor)"
#. Tag: para
-#: ri-spi.xml:234
+#: ri-spi.xml:277
#, no-c-format
-msgid "If you are integrating the Web Beans into an EJB environment you must register <literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> as a EJB interceptor for all EJBs in the application, either automatically, or through user configuration, for each Web Beans application which uses enterprise beans."
+msgid ""
+"If you are integrating the Web Beans into an EJB environment you must "
+"register <literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> as "
+"a EJB interceptor for all EJBs in the application, either automatically, or "
+"through user configuration, for each Web Beans application which uses "
+"enterprise beans."
msgstr ""
+#. Tag: para
+#: ri-spi.xml:287
+#, no-c-format
+msgid ""
+"You must register the <literal>SessionBeanInterceptor</literal> as the inner "
+"most interceptor in the stack for all EJBs."
+msgstr ""
+
#. Tag: term
-#: ri-spi.xml:245
+#: ri-spi.xml:295
#, no-c-format
msgid "The <literal>webbeans-ri.jar</literal>"
msgstr "A <literal>webbeans-ri.jar</literal>"
#. Tag: para
-#: ri-spi.xml:249
+#: ri-spi.xml:299
#, no-c-format
-msgid "If you are integrating the Web Beans into an environment that supports deployment of applications, you must insert the <literal>webbeans-ri.jar</literal> into the applications isolated classloader. It cannot be loaded from a shared classloader."
+msgid ""
+"If you are integrating the Web Beans into an environment that supports "
+"deployment of applications, you must insert the <literal>webbeans-ri.jar</"
+"literal> into the applications isolated classloader. It cannot be loaded "
+"from a shared classloader."
msgstr ""
#~ msgid ""
@@ -555,47 +707,56 @@
#~ msgstr ""
#~ "org.jboss.webbeans.bootstrap.spi.WebBeanDiscovery= \\ \n"
#~ " org.jboss.webbeans.integration.jbossas.WebBeanDiscoveryImpl"
+
#~ msgid ""
#~ "<![CDATA[public WebBeanDiscoveryImpl(ServletContext servletContext) {}]]>"
#~ msgstr ""
#~ "<![CDATA[public WebBeanDiscoveryImpl(ServletContext servletContext) {}]]>"
+
#~ msgid ""
#~ "org.jboss.webbeans.bootstrap.spi.EjbDiscovery= \\\n"
#~ " org.jboss.webbeans.integration.jbossas.EjbDiscoveryImpl"
#~ msgstr ""
#~ "org.jboss.webbeans.bootstrap.spi.EjbDiscovery= \\\n"
#~ " org.jboss.webbeans.integration.jbossas.EjbDiscoveryImpl"
+
#~ msgid ""
#~ "<![CDATA[public EjbDiscoveryImpl(ServletContext servletContext) {}]]>"
#~ msgstr ""
#~ "<![CDATA[public EjbDiscoveryImpl(ServletContext servletContext) {}]]>"
+
#~ msgid "and tell the RI to use it:"
#~ msgstr "e informar para a RI usá-lo:"
+
#~ msgid ""
#~ "org.jboss.webbeans.resources.spi.NamingContext=com.acme.MyNamingContext"
#~ msgstr ""
#~ "org.jboss.webbeans.resources.spi.NamingContext=com.acme.MyNamingContext"
+
#~ msgid "<![CDATA[public MyNamingContext(ServletContext servletContext) {}]]>"
#~ msgstr ""
#~ "<![CDATA[public MyNamingContext(ServletContext servletContext) {}]]>"
+
#~ msgid ""
#~ "The servlet context can be used to allow your implementation of "
#~ "<literal>NamingContext</literal> to interact with the container."
#~ msgstr ""
#~ "O contexto servlet pode ser utilizado para permitir a implementação de "
#~ "<literal>NamingContext</literal> para interagir com o container."
+
#~ msgid ""
#~ "org.jboss.webbeans.resources.spi.ResourceLoader=com.acme.ResourceLoader"
#~ msgstr ""
#~ "org.jboss.webbeans.resources.spi.ResourceLoader=com.acme.ResourceLoader"
+
#~ msgid ""
#~ "<![CDATA[public MyResourceLoader(ServletContext servletContext) {}]]>"
#~ msgstr ""
#~ "<![CDATA[public MyResourceLoader(ServletContext servletContext) {}]]>"
+
#~ msgid ""
#~ "The servlet context can be used to allow your implementation of "
#~ "<literal>ResourceLoader</literal> to interact with the container."
#~ msgstr ""
#~ "O contexto servlet pode ser utilizado para permitir a implementação de "
#~ "<literal>ResourceLoader</literal> para interagir com o container."
-
Modified: doc/trunk/reference/pt-BR/ri.po
===================================================================
--- doc/trunk/reference/pt-BR/ri.po 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/pt-BR/ri.po 2009-03-08 15:59:54 UTC (rev 1813)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: Introduction_to_Web_Beans VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-01 21:16+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: 2009-02-28 15:06-0300\n"
"Last-Translator: João Paulo Viragine <joao.viragine(a)redhat.com>\n"
"Language-Team: none\n"
@@ -20,10 +20,29 @@
msgstr "A Implementação de Referência de Web Beans"
#. Tag: para
+#: ri.xml:6
+#, no-c-format
+msgid ""
+"The Web Beans Reference Implementation is being developed at <ulink url="
+"\"http://seamframework.org/WebBeans\">the Seam project</ulink>. You can "
+"download the latest developer release of Web Beans from the <ulink url="
+"\"http://seamframework.org/Download\">the downloads page</ulink>."
+msgstr ""
+
+#. Tag: para
#: ri.xml:13
#, no-c-format
-msgid "The Web Beans RI comes with a two deployable example applications: <literal>webbeans-numberguess</literal>, a war example, containing only simple beans, and <literal>webbeans-translator</literal> an ear example, containing enterprise beans. To run the examples you'll need the following:"
-msgstr "A implementação de referência de Web Beans vem com duas aplicações de exemplo: <literal>webbeans-numberguess</literal>, um war, contendo apenas beans simples (simple beans), e <literal>webbeans-translator</literal> um ear, contendo benas corporativos (enterprise beans). Para executar os exemplos, você precisará do seguinte:"
+msgid ""
+"The Web Beans RI comes with a two deployable example applications: "
+"<literal>webbeans-numberguess</literal>, a war example, containing only "
+"simple beans, and <literal>webbeans-translator</literal> an ear example, "
+"containing enterprise beans. To run the examples you'll need the following:"
+msgstr ""
+"A implementação de referência de Web Beans vem com duas aplicações de "
+"exemplo: <literal>webbeans-numberguess</literal>, um war, contendo apenas "
+"beans simples (simple beans), e <literal>webbeans-translator</literal> um "
+"ear, contendo benas corporativos (enterprise beans). Para executar os "
+"exemplos, você precisará do seguinte:"
#. Tag: para
#: ri.xml:22
@@ -46,8 +65,14 @@
#. Tag: para
#: ri.xml:32
#, no-c-format
-msgid "Currently, the Web Beans RI only runs on JBoss Application Server 5. You'll need to download JBoss AS 5.0.0.GA from <ulink url=\"http://www.jboss.org/jbossas/downloads/\">jboss.org</ulink>, and unzip it. For example:"
-msgstr "Atualmente, a Web Beans RI roda apenas no JBoss Application Server 5. Você precisa baixar o JBoss AS 5.0.0.GA de <ulink url=\"http://www.jboss.org/jbossas/downloads/\">jboss.org</ulink>, e descompacta-lo. Por exemplo:\""
+msgid ""
+"Currently, the Web Beans RI only runs on JBoss Application Server 5. You'll "
+"need to download JBoss AS 5.0.0.GA from <ulink url=\"http://www.jboss.org/"
+"jbossas/downloads/\">jboss.org</ulink>, and unzip it. For example:"
+msgstr ""
+"Atualmente, a Web Beans RI roda apenas no JBoss Application Server 5. Você "
+"precisa baixar o JBoss AS 5.0.0.GA de <ulink url=\"http://www.jboss.org/"
+"jbossas/downloads/\">jboss.org</ulink>, e descompacta-lo. Por exemplo:\""
#. Tag: programlisting
#: ri.xml:39
@@ -62,8 +87,13 @@
#. Tag: para
#: ri.xml:41
#, no-c-format
-msgid "Next, download the Web Beans RI from <ulink url=\"http://seamframework.org/Download\">seamframework.org</ulink>, and unzip it. For example"
-msgstr "Depois, baixe a implementação de referência de Web Beans (Web Beans RI) de <ulink url=\"http://seamframework.org/Download\">seamframework.org</ulink>, e descompacte-o. Por exemplo"
+msgid ""
+"Next, download the Web Beans RI from <ulink url=\"http://seamframework.org/"
+"Download\">seamframework.org</ulink>, and unzip it. For example"
+msgstr ""
+"Depois, baixe a implementação de referência de Web Beans (Web Beans RI) de "
+"<ulink url=\"http://seamframework.org/Download\">seamframework.org</ulink>, "
+"e descompacte-o. Por exemplo"
#. Tag: programlisting
#: ri.xml:47
@@ -78,7 +108,10 @@
#. Tag: para
#: ri.xml:50
#, no-c-format
-msgid "Next, we need to tell Web Beans where JBoss is located. Edit <literal>jboss-as/build.properties</literal> and set the <literal>jboss.home</literal> property. For example:"
+msgid ""
+"Next, we need to tell Web Beans where JBoss is located. Edit <literal>jboss-"
+"as/build.properties</literal> and set the <literal>jboss.home</literal> "
+"property. For example:"
msgstr ""
#. Tag: programlisting
@@ -90,20 +123,36 @@
#. Tag: para
#: ri.xml:58
#, no-c-format
-msgid "As Web Beans is a new piece of software, you need to update JBoss AS to run the Web Beans RI. Future versions of JBoss AS will include these updates, and this step won't be necessary."
-msgstr "Como o Web Beabs é uma nova peça de software, você de fazer a atualização do JBoss AS para poder executar a implementação de referência de Web Beans (Web Beans RI). Futuras versões do JBoss AS incluirão essas atualizações e esse passo será desnecessário."
+msgid ""
+"As Web Beans is a new piece of software, you need to update JBoss AS to run "
+"the Web Beans RI. Future versions of JBoss AS will include these updates, "
+"and this step won't be necessary."
+msgstr ""
+"Como o Web Beabs é uma nova peça de software, você de fazer a atualização do "
+"JBoss AS para poder executar a implementação de referência de Web Beans (Web "
+"Beans RI). Futuras versões do JBoss AS incluirão essas atualizações e esse "
+"passo será desnecessário."
#. Tag: para
#: ri.xml:65
#, no-c-format
-msgid "Currently, two updates are needed. Firstly, a new deployer, <literal>webbeans.deployer</literal> is added. This adds supports for Web Bean archives to JBoss AS, and allows the Web Beans RI to query the EJB3 container and discover which EJBs are installed in your application. Secondly, an update to JBoss EJB3 is needed."
+msgid ""
+"Currently, two updates are needed. Firstly, a new deployer, "
+"<literal>webbeans.deployer</literal> is added. This adds supports for Web "
+"Bean archives to JBoss AS, and allows the Web Beans RI to query the EJB3 "
+"container and discover which EJBs are installed in your application. "
+"Secondly, an update to JBoss EJB3 is needed."
msgstr ""
#. Tag: para
#: ri.xml:74
#, no-c-format
-msgid "To install the update, you'll need Ant 1.7.0 installed, and the <literal>ANT_HOME</literal> environment variable set. For example:"
-msgstr "Para instalar a atualização, precisaremos do Ant 1.7.0 instalado, e a variável de ambiente <literal>ANT_HOME</literal> setada. Por exemplo:"
+msgid ""
+"To install the update, you'll need Ant 1.7.0 installed, and the "
+"<literal>ANT_HOME</literal> environment variable set. For example:"
+msgstr ""
+"Para instalar a atualização, precisaremos do Ant 1.7.0 instalado, e a "
+"variável de ambiente <literal>ANT_HOME</literal> setada. Por exemplo:"
#. Tag: programlisting
#: ri.xml:79
@@ -118,7 +167,9 @@
#. Tag: para
#: ri.xml:81
#, no-c-format
-msgid "Then, you can install the update. The update script will use Maven to download the Web Beans and EJB3 automatically."
+msgid ""
+"Then, you can install the update. The update script will use Maven to "
+"download the Web Beans and EJB3 automatically."
msgstr ""
#. Tag: programlisting
@@ -135,31 +186,39 @@
#: ri.xml:88
#, no-c-format
msgid "Now, you're ready to deploy your first example!"
-msgstr "Agora, você está pronto para fazer a publicação do seu primeiro exemplo!"
+msgstr ""
+"Agora, você está pronto para fazer a publicação do seu primeiro exemplo!"
#. Tag: para
#: ri.xml:93
#, no-c-format
-msgid "The build scripts for the examples offer a number of targets, these are:"
+msgid ""
+"The build scripts for the examples offer a number of targets, these are:"
msgstr ""
#. Tag: para
#: ri.xml:99
#, no-c-format
msgid "<literal>ant restart</literal> - deploy the example in exploded format"
-msgstr "<literal>ant restart</literal> - publica o exemplo no formato explodido"
+msgstr ""
+"<literal>ant restart</literal> - publica o exemplo no formato explodido"
#. Tag: para
#: ri.xml:105
#, no-c-format
-msgid "<literal>ant explode</literal> - update an exploded example, without restarting the deployment"
-msgstr "<literal>ant explode</literal> - atualiza o exemplo explodido, sem reiniciar "
+msgid ""
+"<literal>ant explode</literal> - update an exploded example, without "
+"restarting the deployment"
+msgstr ""
+"<literal>ant explode</literal> - atualiza o exemplo explodido, sem reiniciar "
#. Tag: para
#: ri.xml:111
#, no-c-format
-msgid "<literal>ant deploy</literal> - deploy the example in compressed jar format"
-msgstr "<literal>ant deploy</literal> - publica o exemplo no formato jar compactado"
+msgid ""
+"<literal>ant deploy</literal> - deploy the example in compressed jar format"
+msgstr ""
+"<literal>ant deploy</literal> - publica o exemplo no formato jar compactado"
#. Tag: para
#: ri.xml:116
@@ -210,13 +269,19 @@
#. Tag: para
#: ri.xml:146
#, no-c-format
-msgid "Wait for the application to deploy, and enjoy hours of fun at <ulink url=\"http://localhost:8080/webbeans-numberguess\"></ulink>!"
+msgid ""
+"Wait for the application to deploy, and enjoy hours of fun at <ulink url="
+"\"http://localhost:8080/webbeans-numberguess\"></ulink>!"
msgstr ""
#. Tag: para
#: ri.xml:151
#, no-c-format
-msgid "The Web Beans RI includes a second simple example that will translate your text into Latin. The numberguess example is a war example, and uses only simple beans; the translator example is an ear example, and includes enterprise beans, packaged in an EJB module. To try it out:"
+msgid ""
+"The Web Beans RI includes a second simple example that will translate your "
+"text into Latin. The numberguess example is a war example, and uses only "
+"simple beans; the translator example is an ear example, and includes "
+"enterprise beans, packaged in an EJB module. To try it out:"
msgstr ""
#. Tag: programlisting
@@ -232,7 +297,9 @@
#. Tag: para
#: ri.xml:160
#, no-c-format
-msgid "Wait for the application to deploy, and visit <ulink url=\"http://localhost:8080/webbeans-translator\"></ulink>!"
+msgid ""
+"Wait for the application to deploy, and visit <ulink url=\"http://"
+"localhost:8080/webbeans-translator\"></ulink>!"
msgstr ""
#. Tag: title
@@ -244,19 +311,29 @@
#. Tag: para
#: ri.xml:168
#, no-c-format
-msgid "In the numberguess application you get given 10 attempts to guess a number between 1 and 100. After each attempt, you will be told whether you are too high, or too low."
+msgid ""
+"In the numberguess application you get given 10 attempts to guess a number "
+"between 1 and 100. After each attempt, you will be told whether you are too "
+"high, or too low."
msgstr ""
#. Tag: para
#: ri.xml:174
#, no-c-format
-msgid "The numberguess example is comprised of a number of Web Beans, configuration files, and Facelet JSF pages, packaged as a war. Let's start with the configuration files."
+msgid ""
+"The numberguess example is comprised of a number of Web Beans, configuration "
+"files, and Facelet JSF pages, packaged as a war. Let's start with the "
+"configuration files."
msgstr ""
#. Tag: para
#: ri.xml:180
#, no-c-format
-msgid "All the configuration files for this example are located in <literal>WEB-INF/</literal>, which is stored in <literal>WebContent</literal> in the source tree. First, we have <literal>faces-config.xml</literal>, in which we tell JSF to use Facelets:"
+msgid ""
+"All the configuration files for this example are located in <literal>WEB-INF/"
+"</literal>, which is stored in <literal>WebContent</literal> in the source "
+"tree. First, we have <literal>faces-config.xml</literal>, in which we tell "
+"JSF to use Facelets:"
msgstr ""
#. Tag: programlisting
@@ -267,7 +344,8 @@
"<faces-config version=\"1.2\"\n"
" xmlns=\"http://java.sun.com/xml/ns/javaee\"\n"
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
-" xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd\">\n"
+" xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://"
+"java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd\">\n"
" \n"
" <application>\n"
" <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>\n"
@@ -279,7 +357,8 @@
"<faces-config version=\"1.2\"\n"
" xmlns=\"http://java.sun.com/xml/ns/javaee\"\n"
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
-" xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd\">\n"
+" xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://"
+"java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd\">\n"
" \n"
" <application>\n"
" <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>\n"
@@ -290,7 +369,9 @@
#. Tag: para
#: ri.xml:190
#, no-c-format
-msgid "There is an empty <literal>web-beans.xml</literal> file, which marks this application as a Web Beans application."
+msgid ""
+"There is an empty <literal>web-beans.xml</literal> file, which marks this "
+"application as a Web Beans application."
msgstr ""
#. Tag: para
@@ -303,12 +384,17 @@
#: ri.xml:197
#, no-c-format
msgid ""
-"<programlistingco> <areaspec> <area id=\"faces.servlet\" coords=\"12\"/> <area id=\"faces.servlet.mapping\" coords=\"18\"/> <area id=\"faces.default.suffix\" coords=\"23\"/> <area id=\"session.timeout\" coords=\"28\"/> <area id=\"webbeans.listener\" coords=\"32\"/> </areaspec> <programlisting><![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+"<programlistingco> <areaspec> <area id=\"faces.servlet\" coords=\"12\"/> "
+"<area id=\"faces.servlet.mapping\" coords=\"18\"/> <area id=\"faces.default."
+"suffix\" coords=\"23\"/> <area id=\"session.timeout\" coords=\"28\"/> <area "
+"id=\"webbeans.listener\" coords=\"32\"/> </areaspec> <programlisting><![CDATA"
+"[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"\n"
"<web-app version=\"2.5\"\n"
" xmlns=\"http://java.sun.com/xml/ns/javaee\"\n"
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
-" xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd\">\n"
+" xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://java.sun."
+"com/xml/ns/javaee/web-app_2_5.xsd\">\n"
" \n"
" <display-name>Web Beans Numbergues example</display-name>\n"
"\n"
@@ -334,7 +420,23 @@
" <session-timeout>10</session-timeout>\n"
" </session-config>\n"
"\n"
-"</web-app>]]></programlisting> <calloutlist> <callout arearefs=\"faces.servlet\"> <para> Enable and load the JSF servlet </para> </callout> <callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to <literal>.jsf</literal> pages to be handled by JSF </para> </callout> <callout arearefs=\"faces.default.suffix\"> <para> Tell JSF that we will be giving our source files (facelets) an extension of <literal>.jsf</literal> </para> </callout> <callout arearefs=\"session.timeout\"> <para> Configure a session timeout of 10 minutes </para> </callout> </calloutlist> </programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use the Web Beans RI with any Servlet based web framework. </para> </note> <para> Let's take a look at the Facelet view: </para> <programlistingco> <areaspec> <area id=\"template\" coords=\"8\"/> <area id=\"messages\" coords=\"12\"/> <area id=\"instructions\" coords=\"19\"/> <area id=\"guess\" coords=\"25\"/> <area id=\"validator\" coo!
rds=\"30\"/> <area id=\"submit\" coords=\"33\"/> </areaspec> <programlisting><![CDATA[<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
+"</web-app>]]></programlisting> <calloutlist> <callout arearefs=\"faces."
+"servlet\"> <para> Enable and load the JSF servlet </para> </callout> "
+"<callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to "
+"<literal>.jsf</literal> pages to be handled by JSF </para> </callout> "
+"<callout arearefs=\"faces.default.suffix\"> <para> Tell JSF that we will be "
+"giving our source files (facelets) an extension of <literal>.jsf</literal> </"
+"para> </callout> <callout arearefs=\"session.timeout\"> <para> Configure a "
+"session timeout of 10 minutes </para> </callout> </calloutlist> </"
+"programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use "
+"the Web Beans RI with any Servlet based web framework. </para> </note> "
+"<para> Let's take a look at the Facelet view: </para> <programlistingco> "
+"<areaspec> <area id=\"template\" coords=\"8\"/> <area id=\"messages\" coords="
+"\"12\"/> <area id=\"instructions\" coords=\"19\"/> <area id=\"guess\" coords="
+"\"25\"/> <area id=\"validator\" coords=\"30\"/> <area id=\"submit\" coords="
+"\"33\"/> </areaspec> <programlisting><![CDATA[<!DOCTYPE html PUBLIC \"-//"
+"W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/"
+"xhtml1-transitional.dtd\">\n"
"<html xmlns=\"http://www.w3.org/1999/xhtml\"\n"
" xmlns:ui=\"http://java.sun.com/jsf/facelets\"\n"
" xmlns:h=\"http://java.sun.com/jsf/html\"\n"
@@ -347,12 +449,15 @@
" <h:form id=\"NumberGuessMain\">\n"
" <div style=\"color: red\">\n"
" <h:messages id=\"messages\" globalOnly=\"false\"/>\n"
-" <h:outputText id=\"Higher\" value=\"Higher!\" rendered=\"#{game.number gt game.guess and game.guess ne 0}\"/>\n"
-" <h:outputText id=\"Lower\" value=\"Lower!\" rendered=\"#{game.number lt game.guess and game.guess ne 0}\"/>\n"
+" <h:outputText id=\"Higher\" value=\"Higher!\" rendered=\"#{game."
+"number gt game.guess and game.guess ne 0}\"/>\n"
+" <h:outputText id=\"Lower\" value=\"Lower!\" rendered=\"#{game."
+"number lt game.guess and game.guess ne 0}\"/>\n"
" </div>\n"
" \n"
" <div>\n"
-" I'm thinking of a number between #{game.smallest} and #{game.biggest}.\n"
+" I'm thinking of a number between #{game.smallest} and #{game."
+"biggest}.\n"
" You have #{game.remainingGuesses} guesses.\n"
" </div>\n"
" \n"
@@ -372,19 +477,41 @@
" disabled=\"#{game.number eq game.guess}\"/>\n"
" </div>\n"
" <div>\n"
-" <h:commandButton id=\"RestartButton\" value=\"Reset\" action=\"#{game.reset}\" immediate=\"true\" />\n"
+" <h:commandButton id=\"RestartButton\" value=\"Reset\" action=\"#"
+"{game.reset}\" immediate=\"true\" />\n"
" </div>\n"
" </h:form>\n"
" </ui:define>\n"
" </ui:composition>\n"
-"</html>]]></programlisting> <calloutlist> <callout arearefs=\"template\"> <para> Facelets is a templating language for JSF, here we are wrapping our page in a template which defines the header. </para> </callout> <callout arearefs=\"messages\"> <para> There are a number of messages which can be sent to the user, \"Higher!\", \"Lower!\" and \"Correct!\" </para> </callout> <callout arearefs=\"instructions\"> <para> As the user guesses, the range of numbers they can guess gets smaller - this sentance changes to make sure they know what range to guess in. </para> </callout> <callout arearefs=\"guess\"> <para> This input field is bound to a Web Bean, using the value expression. </para> </callout> <callout arearefs=\"validator\"> <para> A range validator is used to make sure the user doesn't accidentally input a number outside of the range in which they can guess - if the validator wasn't here, the user might use up a guess on an out of range number. </para> </callout> <callout !
arearefs=\"submit\"> <para> And, of course, there must be a way for the user to send their guess to the server. Here we bind to an action method on the Web Bean. </para> </callout> </calloutlist> </programlistingco>"
+"</html>]]></programlisting> <calloutlist> <callout arearefs=\"template\"> "
+"<para> Facelets is a templating language for JSF, here we are wrapping our "
+"page in a template which defines the header. </para> </callout> <callout "
+"arearefs=\"messages\"> <para> There are a number of messages which can be "
+"sent to the user, \"Higher!\", \"Lower!\" and \"Correct!\" </para> </"
+"callout> <callout arearefs=\"instructions\"> <para> As the user guesses, the "
+"range of numbers they can guess gets smaller - this sentance changes to make "
+"sure they know what range to guess in. </para> </callout> <callout arearefs="
+"\"guess\"> <para> This input field is bound to a Web Bean, using the value "
+"expression. </para> </callout> <callout arearefs=\"validator\"> <para> A "
+"range validator is used to make sure the user doesn't accidentally input a "
+"number outside of the range in which they can guess - if the validator "
+"wasn't here, the user might use up a guess on an out of range number. </"
+"para> </callout> <callout arearefs=\"submit\"> <para> And, of course, there "
+"must be a way for the user to send their guess to the server. Here we bind "
+"to an action method on the Web Bean. </para> </callout> </calloutlist> </"
+"programlistingco>"
msgstr ""
-"<programlistingco> <areaspec> <area id=\"faces.servlet\" coords=\"12\"/> <area id=\"faces.servlet.mapping\" coords=\"18\"/> <area id=\"faces.default.suffix\" coords=\"23\"/> <area id=\"session.timeout\" coords=\"28\"/> <area id=\"webbeans.listener\" coords=\"32\"/> </areaspec> <programlisting><![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+"<programlistingco> <areaspec> <area id=\"faces.servlet\" coords=\"12\"/> "
+"<area id=\"faces.servlet.mapping\" coords=\"18\"/> <area id=\"faces.default."
+"suffix\" coords=\"23\"/> <area id=\"session.timeout\" coords=\"28\"/> <area "
+"id=\"webbeans.listener\" coords=\"32\"/> </areaspec> <programlisting><![CDATA"
+"[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"\n"
"<web-app version=\"2.5\"\n"
" xmlns=\"http://java.sun.com/xml/ns/javaee\"\n"
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
-" xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd\">\n"
+" xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://java.sun."
+"com/xml/ns/javaee/web-app_2_5.xsd\">\n"
" \n"
" <display-name>Web Beans Numbergues example</display-name>\n"
"\n"
@@ -410,7 +537,23 @@
" <session-timeout>10</session-timeout>\n"
" </session-config>\n"
"\n"
-"</web-app>]]></programlisting> <calloutlist> <callout arearefs=\"faces.servlet\"> <para> Enable and load the JSF servlet </para> </callout> <callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to <literal>.jsf</literal> pages to be handled by JSF </para> </callout> <callout arearefs=\"faces.default.suffix\"> <para> Tell JSF that we will be giving our source files (facelets) an extension of <literal>.jsf</literal> </para> </callout> <callout arearefs=\"session.timeout\"> <para> Configure a session timeout of 10 minutes </para> </callout> </calloutlist> </programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use the Web Beans RI with any Servlet based web framework. </para> </note> <para> Let's take a look at the Facelet view: </para> <programlistingco> <areaspec> <area id=\"template\" coords=\"8\"/> <area id=\"messages\" coords=\"12\"/> <area id=\"instructions\" coords=\"19\"/> <area id=\"guess\" coords=\"25\"/> <area id=\"validator\" coo!
rds=\"30\"/> <area id=\"submit\" coords=\"33\"/> </areaspec> <programlisting><![CDATA[<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
+"</web-app>]]></programlisting> <calloutlist> <callout arearefs=\"faces."
+"servlet\"> <para> Enable and load the JSF servlet </para> </callout> "
+"<callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to "
+"<literal>.jsf</literal> pages to be handled by JSF </para> </callout> "
+"<callout arearefs=\"faces.default.suffix\"> <para> Tell JSF that we will be "
+"giving our source files (facelets) an extension of <literal>.jsf</literal> </"
+"para> </callout> <callout arearefs=\"session.timeout\"> <para> Configure a "
+"session timeout of 10 minutes </para> </callout> </calloutlist> </"
+"programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use "
+"the Web Beans RI with any Servlet based web framework. </para> </note> "
+"<para> Let's take a look at the Facelet view: </para> <programlistingco> "
+"<areaspec> <area id=\"template\" coords=\"8\"/> <area id=\"messages\" coords="
+"\"12\"/> <area id=\"instructions\" coords=\"19\"/> <area id=\"guess\" coords="
+"\"25\"/> <area id=\"validator\" coords=\"30\"/> <area id=\"submit\" coords="
+"\"33\"/> </areaspec> <programlisting><![CDATA[<!DOCTYPE html PUBLIC \"-//"
+"W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/"
+"xhtml1-transitional.dtd\">\n"
"<html xmlns=\"http://www.w3.org/1999/xhtml\"\n"
" xmlns:ui=\"http://java.sun.com/jsf/facelets\"\n"
" xmlns:h=\"http://java.sun.com/jsf/html\"\n"
@@ -423,12 +566,15 @@
" <h:form id=\"NumberGuessMain\">\n"
" <div style=\"color: red\">\n"
" <h:messages id=\"messages\" globalOnly=\"false\"/>\n"
-" <h:outputText id=\"Higher\" value=\"Higher!\" rendered=\"#{game.number gt game.guess and game.guess ne 0}\"/>\n"
-" <h:outputText id=\"Lower\" value=\"Lower!\" rendered=\"#{game.number lt game.guess and game.guess ne 0}\"/>\n"
+" <h:outputText id=\"Higher\" value=\"Higher!\" rendered=\"#{game."
+"number gt game.guess and game.guess ne 0}\"/>\n"
+" <h:outputText id=\"Lower\" value=\"Lower!\" rendered=\"#{game."
+"number lt game.guess and game.guess ne 0}\"/>\n"
" </div>\n"
" \n"
" <div>\n"
-" I'm thinking of a number between #{game.smallest} and #{game.biggest}.\n"
+" I'm thinking of a number between #{game.smallest} and #{game."
+"biggest}.\n"
" You have #{game.remainingGuesses} guesses.\n"
" </div>\n"
" \n"
@@ -448,17 +594,37 @@
" disabled=\"#{game.number eq game.guess}\"/>\n"
" </div>\n"
" <div>\n"
-" <h:commandButton id=\"RestartButton\" value=\"Reset\" action=\"#{game.reset}\" immediate=\"true\" />\n"
+" <h:commandButton id=\"RestartButton\" value=\"Reset\" action=\"#"
+"{game.reset}\" immediate=\"true\" />\n"
" </div>\n"
" </h:form>\n"
" </ui:define>\n"
" </ui:composition>\n"
-"</html>]]></programlisting> <calloutlist> <callout arearefs=\"template\"> <para> Facelets is a templating language for JSF, here we are wrapping our page in a template which defines the header. </para> </callout> <callout arearefs=\"messages\"> <para> There are a number of messages which can be sent to the user, \"Higher!\", \"Lower!\" and \"Correct!\" </para> </callout> <callout arearefs=\"instructions\"> <para> As the user guesses, the range of numbers they can guess gets smaller - this sentance changes to make sure they know what range to guess in. </para> </callout> <callout arearefs=\"guess\"> <para> This input field is bound to a Web Bean, using the value expression. </para> </callout> <callout arearefs=\"validator\"> <para> A range validator is used to make sure the user doesn't accidentally input a number outside of the range in which they can guess - if the validator wasn't here, the user might use up a guess on an out of range number. </para> </callout> <callout !
arearefs=\"submit\"> <para> And, of course, there must be a way for the user to send their guess to the server. Here we bind to an action method on the Web Bean. </para> </callout> </calloutlist> </programlistingco>"
+"</html>]]></programlisting> <calloutlist> <callout arearefs=\"template\"> "
+"<para> Facelets is a templating language for JSF, here we are wrapping our "
+"page in a template which defines the header. </para> </callout> <callout "
+"arearefs=\"messages\"> <para> There are a number of messages which can be "
+"sent to the user, \"Higher!\", \"Lower!\" and \"Correct!\" </para> </"
+"callout> <callout arearefs=\"instructions\"> <para> As the user guesses, the "
+"range of numbers they can guess gets smaller - this sentance changes to make "
+"sure they know what range to guess in. </para> </callout> <callout arearefs="
+"\"guess\"> <para> This input field is bound to a Web Bean, using the value "
+"expression. </para> </callout> <callout arearefs=\"validator\"> <para> A "
+"range validator is used to make sure the user doesn't accidentally input a "
+"number outside of the range in which they can guess - if the validator "
+"wasn't here, the user might use up a guess on an out of range number. </"
+"para> </callout> <callout arearefs=\"submit\"> <para> And, of course, there "
+"must be a way for the user to send their guess to the server. Here we bind "
+"to an action method on the Web Bean. </para> </callout> </calloutlist> </"
+"programlistingco>"
#. Tag: para
#: ri.xml:299
#, no-c-format
-msgid "The example exists of 4 classes, the first two of which are binding types. First, there is the <literal>@Random</literal> binding type, used for injecting a random number:"
+msgid ""
+"The example exists of 4 classes, the first two of which are binding types. "
+"First, there is the <literal>@Random</literal> binding type, used for "
+"injecting a random number:"
msgstr ""
#. Tag: programlisting
@@ -480,7 +646,9 @@
#. Tag: para
#: ri.xml:307
#, no-c-format
-msgid "There is also the <literal>@MaxNumber</literal> binding type, used for injecting the maximum number that can be injected:"
+msgid ""
+"There is also the <literal>@MaxNumber</literal> binding type, used for "
+"injecting the maximum number that can be injected:"
msgstr ""
#. Tag: programlisting
@@ -504,7 +672,10 @@
#. Tag: para
#: ri.xml:314
#, no-c-format
-msgid "The <literal>Generator</literal> class is responsible for creating the random number, via a producer method. It also exposes the maximum possible number via a producer method:"
+msgid ""
+"The <literal>Generator</literal> class is responsible for creating the "
+"random number, via a producer method. It also exposes the maximum possible "
+"number via a producer method:"
msgstr ""
#. Tag: programlisting
@@ -514,7 +685,8 @@
"<![CDATA[@ApplicationScoped\n"
"public class Generator {\n"
" \n"
-" private java.util.Random random = new java.util.Random( System.currentTimeMillis() );\n"
+" private java.util.Random random = new java.util.Random( System."
+"currentTimeMillis() );\n"
" \n"
" private int maxNumber = 100;\n"
" \n"
@@ -537,7 +709,8 @@
"<![CDATA[@ApplicationScoped\n"
"public class Generator {\n"
" \n"
-" private java.util.Random random = new java.util.Random( System.currentTimeMillis() );\n"
+" private java.util.Random random = new java.util.Random( System."
+"currentTimeMillis() );\n"
" \n"
" private int maxNumber = 100;\n"
" \n"
@@ -560,19 +733,28 @@
#. Tag: para
#: ri.xml:322
#, no-c-format
-msgid "You'll notice that the <literal>Generator</literal> is application scoped; therefore we don't get a different random each time."
+msgid ""
+"You'll notice that the <literal>Generator</literal> is application scoped; "
+"therefore we don't get a different random each time."
msgstr ""
#. Tag: para
#: ri.xml:327
#, no-c-format
-msgid "The final Web Bean in the application is the session scoped <literal>Game</literal>."
+msgid ""
+"The final Web Bean in the application is the session scoped <literal>Game</"
+"literal>."
msgstr ""
#. Tag: para
#: ri.xml:332
#, no-c-format
-msgid "You'll note that we've used the <literal>@Named</literal> annotation, so that we can use the bean through EL in the JSF page. Finally, we've used constructor injection to initialize the game with a random number. And of course, we need to tell the player when they've won, so we give feedback with a <literal>FacesMessage</literal>."
+msgid ""
+"You'll note that we've used the <literal>@Named</literal> annotation, so "
+"that we can use the bean through EL in the JSF page. Finally, we've used "
+"constructor injection to initialize the game with a random number. And of "
+"course, we need to tell the player when they've won, so we give feedback "
+"with a <literal>FacesMessage</literal>."
msgstr ""
#. Tag: programlisting
@@ -657,7 +839,8 @@
" }\n"
" if (guess == number)\n"
" {\n"
-" FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(\"Correct!\"));\n"
+" FacesContext.getCurrentInstance().addMessage(null, new FacesMessage"
+"(\"Correct!\"));\n"
" }\n"
" remainingGuesses--;\n"
" return null;\n"
@@ -669,7 +852,8 @@
" this.smallest = 0;\n"
" this.guess = 0;\n"
" this.remainingGuesses = 10;\n"
-" this.number = manager.getInstanceByType(Integer.class, new AnnotationLiteral<Random>(){});\n"
+" this.number = manager.getInstanceByType(Integer.class, new "
+"AnnotationLiteral<Random>(){});\n"
" }\n"
" \n"
"}]]>"
@@ -752,7 +936,8 @@
" }\n"
" if (guess == number)\n"
" {\n"
-" FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(\"Correct!\"));\n"
+" FacesContext.getCurrentInstance().addMessage(null, new FacesMessage"
+"(\"Correct!\"));\n"
" }\n"
" remainingGuesses--;\n"
" return null;\n"
@@ -764,7 +949,8 @@
" this.smallest = 0;\n"
" this.guess = 0;\n"
" this.remainingGuesses = 10;\n"
-" this.number = manager.getInstanceByType(Integer.class, new AnnotationLiteral<Random>(){});\n"
+" this.number = manager.getInstanceByType(Integer.class, new "
+"AnnotationLiteral<Random>(){});\n"
" }\n"
" \n"
"}]]>"
@@ -778,25 +964,34 @@
#. Tag: para
#: ri.xml:346
#, no-c-format
-msgid "The translator example will take any sentences you enter, and translate them to Latin."
+msgid ""
+"The translator example will take any sentences you enter, and translate them "
+"to Latin."
msgstr ""
#. Tag: para
#: ri.xml:351
#, no-c-format
-msgid "The translator example is built as an ear, and contains EJBs. As a result, it's structure is more complex than the numberguess example."
+msgid ""
+"The translator example is built as an ear, and contains EJBs. As a result, "
+"it's structure is more complex than the numberguess example."
msgstr ""
#. Tag: para
#: ri.xml:357
#, no-c-format
-msgid "EJB 3.1 and Jave EE 6 allow you to package EJBs in a war, which will make this structure much simpler!"
+msgid ""
+"EJB 3.1 and Jave EE 6 allow you to package EJBs in a war, which will make "
+"this structure much simpler!"
msgstr ""
#. Tag: para
#: ri.xml:363
#, no-c-format
-msgid "First, let's take a look at the ear aggregator, which is located in <literal>webbeans-translator-ear</literal> module. Maven automatically generates the <literal>application.xml</literal> for us:"
+msgid ""
+"First, let's take a look at the ear aggregator, which is located in "
+"<literal>webbeans-translator-ear</literal> module. Maven automatically "
+"generates the <literal>application.xml</literal> for us:"
msgstr ""
#. Tag: programlisting
@@ -834,13 +1029,18 @@
#. Tag: para
#: ri.xml:371
#, no-c-format
-msgid "Here we set the context path, which gives us a nice url (<ulink url=\"http://localhost:8080/webbeans-translator\">http://localhost:8080/webbeans-translator</ulink>)."
+msgid ""
+"Here we set the context path, which gives us a nice url (<ulink url=\"http://"
+"localhost:8080/webbeans-translator\">http://localhost:8080/webbeans-"
+"translator</ulink>)."
msgstr ""
#. Tag: para
#: ri.xml:377
#, no-c-format
-msgid "If you aren't using Maven to generate these files, you would need <literal>META-INF/application.xml</literal>:"
+msgid ""
+"If you aren't using Maven to generate these files, you would need "
+"<literal>META-INF/application.xml</literal>:"
msgstr ""
#. Tag: programlisting
@@ -850,10 +1050,12 @@
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<application xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
-" xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd\"\n"
+" xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://"
+"java.sun.com/xml/ns/javaee/application_5.xsd\"\n"
" version=\"5\">\n"
" <display-name>webbeans-translator-ear</display-name>\n"
-" <description>Ear Example for the reference implementation of JSR 299: Web Beans</description>\n"
+" <description>Ear Example for the reference implementation of JSR 299: Web "
+"Beans</description>\n"
" \n"
" <module>\n"
" <web>\n"
@@ -869,10 +1071,12 @@
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<application xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
-" xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd\"\n"
+" xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://"
+"java.sun.com/xml/ns/javaee/application_5.xsd\"\n"
" version=\"5\">\n"
" <display-name>webbeans-translator-ear</display-name>\n"
-" <description>Ear Example for the reference implementation of JSR 299: Web Beans</description>\n"
+" <description>Ear Example for the reference implementation of JSR 299: Web "
+"Beans</description>\n"
" \n"
" <module>\n"
" <web>\n"
@@ -888,13 +1092,19 @@
#. Tag: para
#: ri.xml:385
#, no-c-format
-msgid "Next, lets look at the war. Just as in the numberguess example, we have a <literal>faces-config.xml</literal> (to enabled Facelets) and a <literal>web.xml</literal> (to enable JSF) in <literal>WebContent/WEB-INF</literal>."
+msgid ""
+"Next, lets look at the war. Just as in the numberguess example, we have a "
+"<literal>faces-config.xml</literal> (to enabled Facelets) and a <literal>web."
+"xml</literal> (to enable JSF) in <literal>WebContent/WEB-INF</literal>."
msgstr ""
#. Tag: para
#: ri.xml:392
#, no-c-format
-msgid "More intersting is the facelet used to translate text. Just as in the numberguess example we have a template, which surrounds the form (ommitted here for brevity):"
+msgid ""
+"More intersting is the facelet used to translate text. Just as in the "
+"numberguess example we have a template, which surrounds the form (ommitted "
+"here for brevity):"
msgstr ""
#. Tag: programlisting
@@ -914,7 +1124,8 @@
" </tr>\n"
" <tr>\n"
" <td>\n"
-" <h:inputTextarea id=\"text\" value=\"#{translator.text}\" required=\"true\" rows=\"5\" cols=\"80\" />\n"
+" <h:inputTextarea id=\"text\" value=\"#{translator.text}\" "
+"required=\"true\" rows=\"5\" cols=\"80\" />\n"
" </td>\n"
" <td>\n"
" <h:outputText value=\"#{translator.translatedText}\" />\n"
@@ -922,7 +1133,8 @@
" </tr>\n"
" </table>\n"
" <div>\n"
-" <h:commandButton id=\"button\" value=\"Translate\" action=\"#{translator.translate}\"/>\n"
+" <h:commandButton id=\"button\" value=\"Translate\" action=\"#"
+"{translator.translate}\"/>\n"
" </div>\n"
" \n"
"</h:form>]]>"
@@ -940,7 +1152,8 @@
" </tr>\n"
" <tr>\n"
" <td>\n"
-" <h:inputTextarea id=\"text\" value=\"#{translator.text}\" required=\"true\" rows=\"5\" cols=\"80\" />\n"
+" <h:inputTextarea id=\"text\" value=\"#{translator.text}\" "
+"required=\"true\" rows=\"5\" cols=\"80\" />\n"
" </td>\n"
" <td>\n"
" <h:outputText value=\"#{translator.translatedText}\" />\n"
@@ -948,7 +1161,8 @@
" </tr>\n"
" </table>\n"
" <div>\n"
-" <h:commandButton id=\"button\" value=\"Translate\" action=\"#{translator.translate}\"/>\n"
+" <h:commandButton id=\"button\" value=\"Translate\" action=\"#"
+"{translator.translate}\"/>\n"
" </div>\n"
" \n"
"</h:form>]]>"
@@ -956,25 +1170,40 @@
#. Tag: para
#: ri.xml:400
#, no-c-format
-msgid "The user can enter some text in the lefthand textarea, and hit the translate button to see the result to the right."
+msgid ""
+"The user can enter some text in the lefthand textarea, and hit the translate "
+"button to see the result to the right."
msgstr ""
#. Tag: para
#: ri.xml:405
#, no-c-format
-msgid "Finally, let's look at the ejb module, <literal>webbeans-translator-ejb</literal>. In <literal>src/main/resources/META-INF</literal> there is just an empty <literal>web-beans.xml</literal>, used to mark the archive as containing Web Beans."
+msgid ""
+"Finally, let's look at the ejb module, <literal>webbeans-translator-ejb</"
+"literal>. In <literal>src/main/resources/META-INF</literal> there is just an "
+"empty <literal>web-beans.xml</literal>, used to mark the archive as "
+"containing Web Beans."
msgstr ""
#. Tag: para
#: ri.xml:413
#, no-c-format
-msgid "We've saved the most interesting bit to last, the code! The project has two simple beans, <literal>SentenceParser</literal> and <literal>TextTranslator</literal> and two enterprise beans, <literal>TranslatorControllerBean</literal> and <literal>SentenceTranslator</literal>. You should be getting quite familiar with what a Web Bean looks like by now, so we'll just highlight the most interesting bits here."
+msgid ""
+"We've saved the most interesting bit to last, the code! The project has two "
+"simple beans, <literal>SentenceParser</literal> and <literal>TextTranslator</"
+"literal> and two enterprise beans, <literal>TranslatorControllerBean</"
+"literal> and <literal>SentenceTranslator</literal>. You should be getting "
+"quite familiar with what a Web Bean looks like by now, so we'll just "
+"highlight the most interesting bits here."
msgstr ""
#. Tag: para
#: ri.xml:423
#, no-c-format
-msgid "Both <literal>SentenceParser</literal> and <literal>TextTranslator</literal> are dependent beans, and <literal>TextTranslator</literal> uses constructor initialization:"
+msgid ""
+"Both <literal>SentenceParser</literal> and <literal>TextTranslator</literal> "
+"are dependent beans, and <literal>TextTranslator</literal> uses constructor "
+"initialization:"
msgstr ""
#. Tag: programlisting
@@ -986,7 +1215,8 @@
" private Translator sentenceTranslator; \n"
" \n"
" @Initializer\n"
-" TextTranslator(SentenceParser sentenceParser, Translator sentenceTranslator) \n"
+" TextTranslator(SentenceParser sentenceParser, Translator "
+"sentenceTranslator) \n"
" { \n"
" this.sentenceParser = sentenceParser; \n"
" this.sentenceTranslator = sentenceTranslator;]]>"
@@ -1004,7 +1234,8 @@
" </tr>\n"
" <tr>\n"
" <td>\n"
-" <h:inputTextarea id=\"text\" value=\"#{translator.text}\" required=\"true\" rows=\"5\" cols=\"80\" />\n"
+" <h:inputTextarea id=\"text\" value=\"#{translator.text}\" "
+"required=\"true\" rows=\"5\" cols=\"80\" />\n"
" </td>\n"
" <td>\n"
" <h:outputText value=\"#{translator.translatedText}\" />\n"
@@ -1012,7 +1243,8 @@
" </tr>\n"
" </table>\n"
" <div>\n"
-" <h:commandButton id=\"button\" value=\"Translate\" action=\"#{translator.translate}\"/>\n"
+" <h:commandButton id=\"button\" value=\"Translate\" action=\"#"
+"{translator.translate}\"/>\n"
" </div>\n"
" \n"
"</h:form>]]>"
@@ -1020,13 +1252,19 @@
#. Tag: para
#: ri.xml:431
#, no-c-format
-msgid "<literal>TextTranslator</literal> is a stateless bean (with a local business interface), where the magic happens - of course, we couldn't develop a full translator, but we gave it a good go!"
+msgid ""
+"<literal>TextTranslator</literal> is a stateless bean (with a local business "
+"interface), where the magic happens - of course, we couldn't develop a full "
+"translator, but we gave it a good go!"
msgstr ""
#. Tag: para
#: ri.xml:437
#, no-c-format
-msgid "Finally, there is UI orientated controller, that collects the text from the user, and dispatches it to the translator. This is a request scoped, named, stateful session bean, which injects the translator."
+msgid ""
+"Finally, there is UI orientated controller, that collects the text from the "
+"user, and dispatches it to the translator. This is a request scoped, named, "
+"stateful session bean, which injects the translator."
msgstr ""
#. Tag: programlisting
@@ -1080,18 +1318,25 @@
#. Tag: para
#: ri.xml:455
#, no-c-format
-msgid "The Web Beans manager will call the remove method for you when the bean is destroyed; in this case at the end of the request."
+msgid ""
+"The Web Beans manager will call the remove method for you when the bean is "
+"destroyed; in this case at the end of the request."
msgstr ""
#. Tag: para
#: ri.xml:461
#, no-c-format
-msgid "That concludes our short tour of the Web Beans RI examples. For more on the RI, or to help out, please visit <ulink url=\"http://www.seamframework.org/WebBeans/Development\">http://www.seamframework.org/WebBeans/Development</ulink>."
+msgid ""
+"That concludes our short tour of the Web Beans RI examples. For more on the "
+"RI, or to help out, please visit <ulink url=\"http://www.seamframework.org/"
+"WebBeans/Development\">http://www.seamframework.org/WebBeans/Development</"
+"ulink>."
msgstr ""
#. Tag: para
#: ri.xml:467
#, no-c-format
-msgid "We need help in all areas - bug fixing, writing new features, writing examples and translating this reference guide."
+msgid ""
+"We need help in all areas - bug fixing, writing new features, writing "
+"examples and translating this reference guide."
msgstr ""
-
Modified: doc/trunk/reference/zh-CN/ri-spi.po
===================================================================
--- doc/trunk/reference/zh-CN/ri-spi.po 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/zh-CN/ri-spi.po 2009-03-08 15:59:54 UTC (rev 1813)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: 2008-12-23 18:18+0800\n"
"Last-Translator: Sean Wu <alartin(a)gmail.com>\n"
"Language-Team: none\n"
@@ -276,13 +276,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:94
+#: ri-spi.xml:104
#, no-c-format
msgid "The application context"
msgstr ""
#. Tag: para
-#: ri-spi.xml:96
+#: ri-spi.xml:106
#, no-c-format
msgid ""
"Web Beans expects the Application Server or other container to provide the "
@@ -293,13 +293,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:109
+#: ri-spi.xml:119
#, no-c-format
msgid "Bootstrap and shutdown"
msgstr ""
#. Tag: para
-#: ri-spi.xml:110
+#: ri-spi.xml:120
#, no-c-format
msgid ""
"The <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal> interface "
@@ -310,7 +310,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:119
+#: ri-spi.xml:129
#, no-c-format
msgid ""
"The bootstrap is split into phases, bootstrap initialization and bootstrap. "
@@ -321,7 +321,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:127
+#: ri-spi.xml:137
#, no-c-format
msgid ""
"To initialize the bootstrap you call <literal>Bootstrap.initialize()</"
@@ -333,7 +333,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:137
+#: ri-spi.xml:147
#, no-c-format
msgid ""
"Having called <literal>initialize()</literal>, the <literal>Manager</"
@@ -342,7 +342,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:143
+#: ri-spi.xml:153
#, no-c-format
msgid ""
"To boot the container you call <literal>Bootstrap.boot()</literal>. Before "
@@ -352,7 +352,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:151
+#: ri-spi.xml:161
#, no-c-format
msgid ""
"To shutdown the container you call <literal>Bootstrap.shutdown()</literal>. "
@@ -360,13 +360,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:160
+#: ri-spi.xml:170
#, no-c-format
msgid "JNDI"
msgstr ""
#. Tag: para
-#: ri-spi.xml:162
+#: ri-spi.xml:172
#, no-c-format
msgid ""
"The Web Beans RI implements JNDI binding and lookup according to standards, "
@@ -376,7 +376,7 @@
msgstr ""
#. Tag: programlisting
-#: ri-spi.xml:170
+#: ri-spi.xml:180
#, no-c-format
msgid ""
"<![CDATA[public interface NamingContext extends Serializable {\n"
@@ -403,13 +403,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:175
+#: ri-spi.xml:185
#, no-c-format
msgid "Resource loading"
msgstr ""
#. Tag: para
-#: ri-spi.xml:177
+#: ri-spi.xml:187
#, no-c-format
msgid ""
"The Web Beans RI needs to load classes and resources from the classpath at "
@@ -420,7 +420,7 @@
msgstr ""
#. Tag: programlisting
-#: ri-spi.xml:185
+#: ri-spi.xml:195
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -455,13 +455,46 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:192
+#: ri-spi.xml:200
#, no-c-format
+msgid "Servlet injection"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:202
+#, no-c-format
+msgid ""
+"Java EE / Servlet does not provide any hooks which can be used to provide "
+"injection into Servlets, so Web Beans provides an API to allow the container "
+"to request JSR-299 injection for a Servlet."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:208
+#, no-c-format
+msgid ""
+"To be compliant with JSR-299, the container should request servlet injection "
+"for each newly instantiated servlet after the constructor returns and before "
+"the servlet is placed into service."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:214
+#, no-c-format
+msgid ""
+"To perform injection on a servlet call <literal>WebBeansManager.injectServlet"
+"()</literal>. The manager can be obtained from <literal>Bootstrap.getManager"
+"()</literal>."
+msgstr ""
+
+#. Tag: title
+#: ri-spi.xml:225
+#, no-c-format
msgid "The contract with the container"
msgstr ""
#. Tag: para
-#: ri-spi.xml:194
+#: ri-spi.xml:227
#, no-c-format
msgid ""
"There are a number of requirements that the Web Beans RI places on the "
@@ -469,13 +502,13 @@
msgstr ""
#. Tag: term
-#: ri-spi.xml:202
+#: ri-spi.xml:235
#, no-c-format
msgid "Classloader isolation"
msgstr ""
#. Tag: para
-#: ri-spi.xml:206
+#: ri-spi.xml:239
#, no-c-format
msgid ""
"If you are integrating the Web Beans RI into an environment that supports "
@@ -485,13 +518,13 @@
msgstr ""
#. Tag: term
-#: ri-spi.xml:215
+#: ri-spi.xml:248
#, no-c-format
-msgid "Servlet listener"
+msgid "Servlet listener and filters"
msgstr ""
#. Tag: para
-#: ri-spi.xml:219
+#: ri-spi.xml:252
#, no-c-format
msgid ""
"If you are integrating the Web Beans into a Servlet environment you must "
@@ -500,14 +533,25 @@
"each Web Beans application which uses Servlet."
msgstr ""
+#. Tag: para
+#: ri-spi.xml:261
+#, no-c-format
+msgid ""
+"If you are integrating the Web Beans into a JSF environment you must "
+"register <literal>org.jboss.webbeans.servlet.ConversationPropagationFilter</"
+"literal> as a Servlet listener, either automatically, or through user "
+"configuration, for each Web Beans application which uses JSF. This filter "
+"can be registered for all Servlet deployment safely."
+msgstr ""
+
#. Tag: term
-#: ri-spi.xml:230
+#: ri-spi.xml:273
#, no-c-format
msgid "Session Bean Interceptor"
msgstr ""
#. Tag: para
-#: ri-spi.xml:234
+#: ri-spi.xml:277
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an EJB environment you must "
@@ -517,14 +561,22 @@
"enterprise beans."
msgstr ""
+#. Tag: para
+#: ri-spi.xml:287
+#, no-c-format
+msgid ""
+"You must register the <literal>SessionBeanInterceptor</literal> as the inner "
+"most interceptor in the stack for all EJBs."
+msgstr ""
+
#. Tag: term
-#: ri-spi.xml:245
+#: ri-spi.xml:295
#, no-c-format
msgid "The <literal>webbeans-ri.jar</literal>"
msgstr ""
#. Tag: para
-#: ri-spi.xml:249
+#: ri-spi.xml:299
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an environment that supports "
Modified: doc/trunk/reference/zh-TW/ri-spi.po
===================================================================
--- doc/trunk/reference/zh-TW/ri-spi.po 2009-03-08 12:58:53 UTC (rev 1812)
+++ doc/trunk/reference/zh-TW/ri-spi.po 2009-03-08 15:59:54 UTC (rev 1813)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: ri-spi\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-02-28 13:48+0000\n"
+"POT-Creation-Date: 2009-03-08 15:53+0000\n"
"PO-Revision-Date: 2009-01-20 11:43+1000\n"
"Last-Translator: Terry Chuang <tchuang(a)redhat.com>\n"
"Language-Team: Traditional Chinese <zh(a)li.org>\n"
@@ -366,13 +366,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:94
+#: ri-spi.xml:104
#, no-c-format
msgid "The application context"
msgstr ""
#. Tag: para
-#: ri-spi.xml:96
+#: ri-spi.xml:106
#, no-c-format
msgid ""
"Web Beans expects the Application Server or other container to provide the "
@@ -383,13 +383,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:109
+#: ri-spi.xml:119
#, no-c-format
msgid "Bootstrap and shutdown"
msgstr ""
#. Tag: para
-#: ri-spi.xml:110
+#: ri-spi.xml:120
#, no-c-format
msgid ""
"The <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal> interface "
@@ -400,7 +400,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:119
+#: ri-spi.xml:129
#, no-c-format
msgid ""
"The bootstrap is split into phases, bootstrap initialization and bootstrap. "
@@ -411,7 +411,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:127
+#: ri-spi.xml:137
#, no-c-format
msgid ""
"To initialize the bootstrap you call <literal>Bootstrap.initialize()</"
@@ -423,7 +423,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:137
+#: ri-spi.xml:147
#, no-c-format
msgid ""
"Having called <literal>initialize()</literal>, the <literal>Manager</"
@@ -432,7 +432,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:143
+#: ri-spi.xml:153
#, no-c-format
msgid ""
"To boot the container you call <literal>Bootstrap.boot()</literal>. Before "
@@ -442,7 +442,7 @@
msgstr ""
#. Tag: para
-#: ri-spi.xml:151
+#: ri-spi.xml:161
#, no-c-format
msgid ""
"To shutdown the container you call <literal>Bootstrap.shutdown()</literal>. "
@@ -450,13 +450,13 @@
msgstr ""
#. Tag: title
-#: ri-spi.xml:160
+#: ri-spi.xml:170
#, no-c-format
msgid "JNDI"
msgstr "JNDI"
#. Tag: para
-#: ri-spi.xml:162
+#: ri-spi.xml:172
#, fuzzy, no-c-format
msgid ""
"The Web Beans RI implements JNDI binding and lookup according to standards, "
@@ -469,7 +469,7 @@
"<literal>org.jboss.webbeans.spi.resources.NamingContext</literal>:"
#. Tag: programlisting
-#: ri-spi.xml:170
+#: ri-spi.xml:180
#, no-c-format
msgid ""
"<![CDATA[public interface NamingContext extends Serializable {\n"
@@ -517,13 +517,13 @@
"}]]>"
#. Tag: title
-#: ri-spi.xml:175
+#: ri-spi.xml:185
#, no-c-format
msgid "Resource loading"
msgstr "資源載入"
#. Tag: para
-#: ri-spi.xml:177
+#: ri-spi.xml:187
#, no-c-format
msgid ""
"The Web Beans RI needs to load classes and resources from the classpath at "
@@ -538,7 +538,7 @@
"literal>:"
#. Tag: programlisting
-#: ri-spi.xml:185
+#: ri-spi.xml:195
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -602,13 +602,46 @@
" ]]>"
#. Tag: title
-#: ri-spi.xml:192
+#: ri-spi.xml:200
+#, fuzzy, no-c-format
+msgid "Servlet injection"
+msgstr "Servlet listener"
+
+#. Tag: para
+#: ri-spi.xml:202
#, no-c-format
+msgid ""
+"Java EE / Servlet does not provide any hooks which can be used to provide "
+"injection into Servlets, so Web Beans provides an API to allow the container "
+"to request JSR-299 injection for a Servlet."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:208
+#, no-c-format
+msgid ""
+"To be compliant with JSR-299, the container should request servlet injection "
+"for each newly instantiated servlet after the constructor returns and before "
+"the servlet is placed into service."
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:214
+#, no-c-format
+msgid ""
+"To perform injection on a servlet call <literal>WebBeansManager.injectServlet"
+"()</literal>. The manager can be obtained from <literal>Bootstrap.getManager"
+"()</literal>."
+msgstr ""
+
+#. Tag: title
+#: ri-spi.xml:225
+#, no-c-format
msgid "The contract with the container"
msgstr "與 container 的合同"
#. Tag: para
-#: ri-spi.xml:194
+#: ri-spi.xml:227
#, no-c-format
msgid ""
"There are a number of requirements that the Web Beans RI places on the "
@@ -616,13 +649,13 @@
msgstr "Web Bean RI 對於 container 有些需求以便達到 API 實做之外的正確的功能。"
#. Tag: term
-#: ri-spi.xml:202
+#: ri-spi.xml:235
#, no-c-format
msgid "Classloader isolation"
msgstr "Classloader 隔離"
#. Tag: para
-#: ri-spi.xml:206
+#: ri-spi.xml:239
#, no-c-format
msgid ""
"If you are integrating the Web Beans RI into an environment that supports "
@@ -634,13 +667,13 @@
"Web Bean 應用程式透過自動的方式,或是透過用戶配置來啟用 classloader 隔離。"
#. Tag: term
-#: ri-spi.xml:215
-#, no-c-format
-msgid "Servlet listener"
+#: ri-spi.xml:248
+#, fuzzy, no-c-format
+msgid "Servlet listener and filters"
msgstr "Servlet listener"
#. Tag: para
-#: ri-spi.xml:219
+#: ri-spi.xml:252
#, no-c-format
msgid ""
"If you are integrating the Web Beans into a Servlet environment you must "
@@ -652,14 +685,28 @@
"Web Bean 應用程式透過自動的方式,或是用戶配置來將 <literal>org.jboss."
"webbeans.servlet.WebBeansListener</literal> 註冊為一個 Servlet listener,"
+#. Tag: para
+#: ri-spi.xml:261
+#, fuzzy, no-c-format
+msgid ""
+"If you are integrating the Web Beans into a JSF environment you must "
+"register <literal>org.jboss.webbeans.servlet.ConversationPropagationFilter</"
+"literal> as a Servlet listener, either automatically, or through user "
+"configuration, for each Web Beans application which uses JSF. This filter "
+"can be registered for all Servlet deployment safely."
+msgstr ""
+"若您要將 Web Bean 整合入一個 Servlet 環境中,您就必須為各個使用 Servlet 的 "
+"Web Bean 應用程式透過自動的方式,或是用戶配置來將 <literal>org.jboss."
+"webbeans.servlet.WebBeansListener</literal> 註冊為一個 Servlet listener,"
+
#. Tag: term
-#: ri-spi.xml:230
+#: ri-spi.xml:273
#, no-c-format
msgid "Session Bean Interceptor"
msgstr "Session Bean 攔截器"
#. Tag: para
-#: ri-spi.xml:234
+#: ri-spi.xml:277
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an EJB environment you must "
@@ -673,14 +720,22 @@
"戶配置來將 <literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> "
"註冊為一個 EJB 攔截器。"
+#. Tag: para
+#: ri-spi.xml:287
+#, no-c-format
+msgid ""
+"You must register the <literal>SessionBeanInterceptor</literal> as the inner "
+"most interceptor in the stack for all EJBs."
+msgstr ""
+
#. Tag: term
-#: ri-spi.xml:245
+#: ri-spi.xml:295
#, no-c-format
msgid "The <literal>webbeans-ri.jar</literal>"
msgstr "<literal>webbeans-ri.jar</literal>"
#. Tag: para
-#: ri-spi.xml:249
+#: ri-spi.xml:299
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an environment that supports "
15 years, 9 months
[webbeans-commits] Webbeans SVN: r1812 - in tck/trunk: impl and 6 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-03-08 08:58:53 -0400 (Sun, 08 Mar 2009)
New Revision: 1812
Added:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/AbstractConversationTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationStatusServlet.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/JsfConversationLifecycleTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/MultiRequestConversationContextTest.java
tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/
tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/beans.xml
tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/home.jsf
tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/web.xml
Removed:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/impl/util/Servlet.java
Modified:
tck/trunk/impl/pom.xml
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationContextTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/nonContextual/servlet/InjectionIntoServletTest.java
tck/trunk/impl/src/main/resources/tck-audit.xml
tck/trunk/pom.xml
Log:
some tests for coversations, use httpclient
Modified: tck/trunk/impl/pom.xml
===================================================================
--- tck/trunk/impl/pom.xml 2009-03-07 23:09:02 UTC (rev 1811)
+++ tck/trunk/impl/pom.xml 2009-03-08 12:58:53 UTC (rev 1812)
@@ -87,6 +87,11 @@
<artifactId>persistence-api</artifactId>
</dependency>
+ <dependency>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ </dependency>
+
</dependencies>
<build>
@@ -196,23 +201,11 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <executions>
- <execution>
- <id>auto-clean</id>
- <phase>initialize</phase>
- <goals>
- <goal>clean</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
</plugins>
<defaultGoal>compile</defaultGoal>
</build>
</profile>
+
<profile>
<id>write-artifacts-to-disk</id>
<activation>
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/impl/util/Servlet.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/impl/util/Servlet.java 2009-03-07 23:09:02 UTC (rev 1811)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/impl/util/Servlet.java 2009-03-08 12:58:53 UTC (rev 1812)
@@ -1,85 +0,0 @@
-package org.jboss.jsr299.tck.impl.util;
-
-import java.io.IOException;
-import java.net.HttpURLConnection;
-import java.net.URL;
-import java.net.URLConnection;
-
-public class Servlet
-{
-
- public static abstract class ServletConnection
- {
-
- private final long connectTimeout;
- private final URL url;
- private HttpURLConnection connection;
-
- public ServletConnection(long connectTimeout, URL url)
- {
- this.connectTimeout = connectTimeout;
- this.url = url;
- }
-
- private void init() throws IOException
- {
- long timeoutTime = System.currentTimeMillis() + connectTimeout;
- boolean interrupted = false;
- while (timeoutTime > System.currentTimeMillis())
- {
- URLConnection connection = url.openConnection();
- if (!(connection instanceof HttpURLConnection))
- {
- throw new IllegalStateException("Not an http connection! " + connection);
- }
- this.connection = (HttpURLConnection) connection;
- this.connection.setUseCaches(false);
- this.connection.setDefaultUseCaches(false);
- connection.connect();
- if (this.connection.getResponseCode() == HttpURLConnection.HTTP_OK)
- {
- return;
- }
- try
- {
- Thread.sleep(200);
- }
- catch (InterruptedException e)
- {
- interrupted = true;
- }
- }
- if (interrupted)
- {
- Thread.currentThread().interrupt();
- }
- }
-
- protected HttpURLConnection getConnection()
- {
- return connection;
- }
-
- private void cleanup()
- {
- this.connection.disconnect();
- }
-
- protected abstract void execute() throws Exception;
-
- public void run() throws Exception
- {
- try
- {
- init();
- execute();
- }
- finally
- {
- cleanup();
- }
- }
-
- }
-
-}
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/AbstractConversationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/AbstractConversationTest.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/AbstractConversationTest.java 2009-03-08 12:58:53 UTC (rev 1812)
@@ -0,0 +1,62 @@
+package org.jboss.jsr299.tck.tests.context.conversation;
+
+import java.io.ObjectInputStream;
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import org.apache.commons.httpclient.HttpClient;
+import org.apache.commons.httpclient.HttpMethod;
+import org.apache.commons.httpclient.methods.GetMethod;
+import org.jboss.jsr299.tck.AbstractDeclarativeTest;
+
+public abstract class AbstractConversationTest extends AbstractDeclarativeTest
+{
+
+ private static final long TIMEOUT = 200;
+
+ protected String getCid(HttpClient client) throws Exception
+ {
+ HttpMethod method = new GetMethod(getConversationStatusPath("cid"));
+ ObjectInputStream ois = null;
+ try
+ {
+ client.executeMethod(method);
+ ois = new ObjectInputStream(method.getResponseBodyAsStream());
+ return (String) ois.readObject();
+ }
+ finally
+ {
+ if (ois != null)
+ {
+ ois.close();
+ }
+ method.releaseConnection();
+ }
+
+ }
+
+ protected String getConversationStatusPath(String method)
+ {
+ return super.getContextPath() + "conversation-status?method=" + method;
+ }
+
+ protected URL getConversationStatusURL(String method) throws MalformedURLException
+ {
+ return new URL(getConversationStatusPath(method));
+ }
+
+ protected void request(HttpClient client, String viewId) throws Exception
+ {
+ HttpMethod method = new GetMethod(getContextPath() + "/home.jsf");
+ try
+ {
+ client.executeMethod(method);
+ assert method.getStatusCode() == 200;
+ }
+ finally
+ {
+ method.releaseConnection();
+ }
+ }
+
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/AbstractConversationTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationContextTest.java 2009-03-07 23:09:02 UTC (rev 1811)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationContextTest.java 2009-03-08 12:58:53 UTC (rev 1812)
@@ -1,7 +1,10 @@
package org.jboss.jsr299.tck.tests.context.conversation;
-import org.jboss.jsr299.tck.AbstractDeclarativeTest;
+import javax.context.Conversation;
+
import org.hibernate.tck.annotations.SpecAssertion;
+import org.jboss.jsr299.tck.AbstractDeclarativeTest;
+import org.jboss.jsr299.tck.impl.packaging.Artifact;
import org.testng.annotations.Test;
/**
@@ -10,138 +13,32 @@
*
* Spec version: PRD2
*/
+@Artifact
public class ConversationContextTest extends AbstractDeclarativeTest
{
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "a")
- public void testContextActiveFromBeginningOfApplyRequestValuesPhasetoResponseCompleteForJsfRequest()
- {
- assert false;
- }
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "b")
- public void testContextActiveDuringRenderResponsePhaseForNonFacesJsfRequest()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "c")
- public void testJsfRequestHasExactlyOneAssociatedConversation()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "d")
- public void testAssociatedConversationOfJsfRequestIsDeterminedAtEndOfRestoreViewPhase()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "d")
- public void testAssociatedConversationOfJsfRequestDoesNotChangeDuringRequest()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts" })
+ @Test(groups = { "contexts" })
@SpecAssertion(section = "8.5.4", id = "e")
public void testDefaultConversationIsTransient()
{
- assert false;
+ assert !getCurrentManager().getInstanceByType(Conversation.class).isLongRunning();
}
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "h")
- public void testConversationsHaveUniqueStringIdentifiers()
+ @Test(groups = { "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "ha")
+ public void testConversationIdMayBeSetByApplication()
{
- assert false;
+ Conversation conversation = getCurrentManager().getInstanceByType(Conversation.class);
+ conversation.begin("foo");
}
-
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "j")
- public void testTransientConversationIsDestroyedAtEndOfJsfRequest()
+
+ @Test(groups = { "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "hb")
+ public void testConversationIdSetByContainer()
{
- assert false;
+ Conversation conversation = getCurrentManager().getInstanceByType(Conversation.class);
+ conversation.begin();
+ assert conversation.getId() != null;
}
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "j")
- public void testTransientConversationContextIsDestroyedAtEndOfJsfRequest()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "k")
- public void testLongRunningConversationNotDestroyedAtEndOfJsfRequest()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "l")
- public void testLongRunningConversationOfJsfRenderingRequestIsPropagatedToRequestFromRenderedPage()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "m")
- public void testLongRunningConversationOfJsfRedirectIsPropagatedToNonFacesRequest()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "n")
- public void testLongRunningConversationManuallyPropagatedToNonFacesRequest()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "o")
- public void testNewTransientRequestIsCreatedWhenNoConversationIsPropagated()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "p")
- public void testLongRunningConversationsMayNotCrossHttpSessions()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "q")
- public void testAllLongRunningConversationContextsOfInvalidatedHttpSessionAreDestroyed()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "r")
- public void testManagerCanDestroyOrphanedLongRunningConversations()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "s")
- public void testNewTransientConversationIsCreatedWhenConversationCannotBeRestored()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4", id = "u")
- public void testConcurrentRequestsToLongRunningConversationsAreHandled()
- {
- assert false;
- }
}
\ No newline at end of file
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationStatusServlet.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationStatusServlet.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationStatusServlet.java 2009-03-08 12:58:53 UTC (rev 1812)
@@ -0,0 +1,39 @@
+package org.jboss.jsr299.tck.tests.context.conversation;
+
+import java.io.IOException;
+import java.io.ObjectOutputStream;
+
+import javax.context.Conversation;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.jboss.jsr299.tck.impl.ConfigurationImpl;
+
+public class ConversationStatusServlet extends HttpServlet
+{
+
+ @Override
+ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
+ {
+ String method = req.getParameter("method");
+ if ("cid".equals(method))
+ {
+ serializeToResponse(ConfigurationImpl.get().getManagers().getManager().getInstanceByType(Conversation.class).getId(), resp);
+ }
+ else
+ {
+ resp.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
+ }
+ }
+
+ private void serializeToResponse(Object object, HttpServletResponse resp) throws IOException
+ {
+ ObjectOutputStream oos = new ObjectOutputStream(resp.getOutputStream());
+ oos.writeObject(object);
+ oos.flush();
+ oos.close();
+ }
+
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationStatusServlet.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/JsfConversationLifecycleTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/JsfConversationLifecycleTest.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/JsfConversationLifecycleTest.java 2009-03-08 12:58:53 UTC (rev 1812)
@@ -0,0 +1,133 @@
+package org.jboss.jsr299.tck.tests.context.conversation;
+
+import org.hibernate.tck.annotations.SpecAssertion;
+import org.jboss.jsr299.tck.AbstractDeclarativeTest;
+import org.testng.annotations.Test;
+
+/**
+ *
+ * @author Nicklas Karlsson
+ *
+ * Spec version: PRD2
+ */
+public class JsfConversationLifecycleTest extends AbstractDeclarativeTest
+{
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "a")
+ public void testContextActiveFromBeginningOfApplyRequestValuesPhasetoResponseCompleteForJsfRequest()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "b")
+ public void testContextActiveDuringRenderResponsePhaseForNonFacesJsfRequest()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "c")
+ public void testJsfRequestHasExactlyOneAssociatedConversation()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "d")
+ public void testAssociatedConversationOfJsfRequestIsDeterminedAtEndOfRestoreViewPhase()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "d")
+ public void testAssociatedConversationOfJsfRequestDoesNotChangeDuringRequest()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "j")
+ public void testTransientConversationIsDestroyedAtEndOfJsfRequest()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "j")
+ public void testTransientConversationContextIsDestroyedAtEndOfJsfRequest()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "k")
+ public void testLongRunningConversationNotDestroyedAtEndOfJsfRequest()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "l")
+ public void testLongRunningConversationOfJsfRenderingRequestIsPropagatedToRequestFromRenderedPage()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "m")
+ public void testLongRunningConversationOfJsfRedirectIsPropagatedToNonFacesRequest()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "n")
+ public void testLongRunningConversationManuallyPropagatedToNonFacesRequest()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "o")
+ public void testNewTransientRequestIsCreatedWhenNoConversationIsPropagated()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "p")
+ public void testLongRunningConversationsMayNotCrossHttpSessions()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "q")
+ public void testAllLongRunningConversationContextsOfInvalidatedHttpSessionAreDestroyed()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "r")
+ public void testManagerCanDestroyOrphanedLongRunningConversations()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "s")
+ public void testNewTransientConversationIsCreatedWhenConversationCannotBeRestored()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "u")
+ public void testConcurrentRequestsToLongRunningConversationsAreHandled()
+ {
+ assert false;
+ }
+}
\ No newline at end of file
Property changes on: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/JsfConversationLifecycleTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/MultiRequestConversationContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/MultiRequestConversationContextTest.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/MultiRequestConversationContextTest.java 2009-03-08 12:58:53 UTC (rev 1812)
@@ -0,0 +1,39 @@
+package org.jboss.jsr299.tck.tests.context.conversation;
+
+import org.apache.commons.httpclient.HttpClient;
+import org.hibernate.tck.annotations.SpecAssertion;
+import org.jboss.jsr299.tck.impl.packaging.Artifact;
+import org.jboss.jsr299.tck.impl.packaging.IntegrationTest;
+import org.jboss.jsr299.tck.impl.packaging.Resource;
+import org.jboss.jsr299.tck.impl.packaging.Resources;
+import org.jboss.jsr299.tck.impl.packaging.war.WarArtifactDescriptor;
+import org.testng.annotations.Test;
+
+/**
+ *
+ * @author Nicklas Karlsson
+ *
+ * Spec version: PRD2
+ */
+@Artifact
+@IntegrationTest(runLocally=true)
+@Resources({
+ @Resource(destination=WarArtifactDescriptor.WEB_XML_DESTINATION, source="web.xml"),
+ @Resource(destination="home.jspx", source="home.jsf")
+})
+public class MultiRequestConversationContextTest extends AbstractConversationTest
+{
+
+ @Test(groups = { "contexts" })
+ @SpecAssertion(section = "8.5.4", id = "hb")
+ public void testConversationIdSetByContainerIsUnique() throws Exception
+ {
+ HttpClient client = new HttpClient();
+ request(client, "/home.jsf");
+ String cid1 = getCid(client);
+ request(client, "/home.jsf");
+ String cid2 = getCid(client);
+ assert !cid1.equals(cid2);
+ }
+
+}
\ No newline at end of file
Property changes on: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/MultiRequestConversationContextTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/nonContextual/servlet/InjectionIntoServletTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/nonContextual/servlet/InjectionIntoServletTest.java 2009-03-07 23:09:02 UTC (rev 1811)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/nonContextual/servlet/InjectionIntoServletTest.java 2009-03-08 12:58:53 UTC (rev 1812)
@@ -1,10 +1,8 @@
package org.jboss.jsr299.tck.tests.lookup.nonContextual.servlet;
-import java.io.IOException;
-import java.net.URL;
-
-import javax.servlet.http.HttpServletResponse;
-
+import org.apache.commons.httpclient.HttpClient;
+import org.apache.commons.httpclient.HttpMethod;
+import org.apache.commons.httpclient.methods.GetMethod;
import org.hibernate.tck.annotations.SpecAssertion;
import org.jboss.jsr299.tck.AbstractDeclarativeTest;
import org.jboss.jsr299.tck.impl.packaging.Artifact;
@@ -12,7 +10,6 @@
import org.jboss.jsr299.tck.impl.packaging.Resource;
import org.jboss.jsr299.tck.impl.packaging.Resources;
import org.jboss.jsr299.tck.impl.packaging.war.WarArtifactDescriptor;
-import org.jboss.jsr299.tck.impl.util.Servlet;
import org.testng.annotations.Test;
@Artifact
@@ -27,16 +24,9 @@
@SpecAssertion(section = "5.12.3", id = "a")
public void testInjectionIntoServlet() throws Exception
{
- new Servlet.ServletConnection(getCurrentConfiguration().getConnectTimeout(), new URL(getContextPath()))
- {
-
- @Override
- protected void execute() throws IOException
- {
- assert getConnection().getResponseCode() == HttpServletResponse.SC_OK;
- }
-
- }.run();
+ HttpClient client = new HttpClient();
+ HttpMethod method = new GetMethod(getContextPath());
+ assert client.executeMethod(method) == 200;
}
}
Added: tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/beans.xml
===================================================================
--- tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/beans.xml (rev 0)
+++ tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/beans.xml 2009-03-08 12:58:53 UTC (rev 1812)
@@ -0,0 +1,8 @@
+<Beans xmlns="urn:java:ee"
+ xmlns:test="urn:java:org.jboss.jsr299.tck.tests.context.dependent">
+ <Deploy>
+ <Standard />
+ <Production />
+ <test:AnotherDeploymentType />
+ </Deploy>
+</Beans>
Property changes on: tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/beans.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/home.jsf
===================================================================
--- tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/home.jsf (rev 0)
+++ tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/home.jsf 2009-03-08 12:58:53 UTC (rev 1812)
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns="http://www.w3.org/1999/xhtml"
+ version="2.0">
+ <jsp:output doctype-root-element="html"
+ doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
+ doctype-system="http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+ <jsp:directive.page contentType="text/html"/>
+ <html>
+ <head>
+ </head>
+ <body>
+
+ </body>
+ </html>
+</jsp:root>
+
Property changes on: tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/home.jsf
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/web.xml
===================================================================
--- tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/web.xml (rev 0)
+++ tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/web.xml 2009-03-08 12:58:53 UTC (rev 1812)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app version="2.5"
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+
+ <display-name>JSR-299 TCK</display-name>
+
+ <!-- JSF -->
+
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.jsf</url-pattern>
+ </servlet-mapping>
+
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.jspx</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>Conversation Status Servlet</servlet-name>
+ <servlet-class>org.jboss.jsr299.tck.tests.context.conversation.ConversationStatusServlet</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Conversation Status Servlet</servlet-name>
+ <url-pattern>/conversation-status</url-pattern>
+ </servlet-mapping>
+
+ <session-config>
+ <session-timeout>10</session-timeout>
+ </session-config>
+
+</web-app>
Property changes on: tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/context/conversation/web.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: tck/trunk/impl/src/main/resources/tck-audit.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-audit.xml 2009-03-07 23:09:02 UTC (rev 1811)
+++ tck/trunk/impl/src/main/resources/tck-audit.xml 2009-03-08 12:58:53 UTC (rev 1812)
@@ -4971,10 +4971,14 @@
<text>A long-running conversation may be marked transient by calling Conversation.end()</text>
</assertion>
- <assertion id="h">
- <text>All long-running conversations have a string-valued unique identifier, which may be set by the application when the conversation is marked long-running, or generated by the container</text>
+ <assertion id="ha">
+ <text>All long-running conversations have a string-valued unique identifier, _which may be set by the application_ when the conversation is marked long-running~, or generated by the container~</text>
</assertion>
+ <assertion id="hb">
+ <text>All long-running conversations have a string-valued unique identifier, ~which may be set by the application when the conversation is marked long-running,~ or generated by the container</text>
+ </assertion>
+
<assertion id="i">
<text>The container provides a built-in bean with bean type javax.context.Conversation, scope @RequestScoped, deployment type @Standard and binding @Current, named javax.context.conversation</text>
</assertion>
Modified: tck/trunk/pom.xml
===================================================================
--- tck/trunk/pom.xml 2009-03-07 23:09:02 UTC (rev 1811)
+++ tck/trunk/pom.xml 2009-03-08 12:58:53 UTC (rev 1812)
@@ -130,8 +130,12 @@
<artifactId>persistence-api</artifactId>
<version>1.0</version>
</dependency>
+ <dependency>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ <version>3.1</version>
+ </dependency>
-
</dependencies>
</dependencyManagement>
15 years, 9 months
[webbeans-commits] Webbeans SVN: r1811 - ri/trunk/impl/src/main/java/org/jboss/webbeans/servlet.
by webbeans-commits@lists.jboss.org
Author: nickarls
Date: 2009-03-07 18:09:02 -0500 (Sat, 07 Mar 2009)
New Revision: 1811
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/servlet/ConversationPropagationFilter.java
Log:
WBRI-164
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/servlet/ConversationPropagationFilter.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/servlet/ConversationPropagationFilter.java 2009-03-07 22:19:27 UTC (rev 1810)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/servlet/ConversationPropagationFilter.java 2009-03-07 23:09:02 UTC (rev 1811)
@@ -79,6 +79,14 @@
{
String requestPath = context.getExternalContext().getRequestContextPath();
URL = URL.substring(URL.indexOf(requestPath) + requestPath.length());
+ }
+ else
+ {
+ int lastSlash = URL.lastIndexOf("/");
+ if (lastSlash > 0)
+ {
+ URL = URL.substring(lastSlash);
+ }
}
return this;
}
15 years, 9 months
[webbeans-commits] Webbeans SVN: r1810 - in ri/trunk/impl/src/main/java/org/jboss/webbeans: context and 2 other directories.
by webbeans-commits@lists.jboss.org
Author: nickarls
Date: 2009-03-07 17:19:27 -0500 (Sat, 07 Mar 2009)
New Revision: 1810
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/AbstractProducerBean.java
ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/EnterpriseBean.java
ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/EventBean.java
ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/ProducerFieldBean.java
ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/ProducerMethodBean.java
ri/trunk/impl/src/main/java/org/jboss/webbeans/context/CreationalContextImpl.java
ri/trunk/impl/src/main/java/org/jboss/webbeans/injection/FieldInjectionPoint.java
ri/trunk/impl/src/main/java/org/jboss/webbeans/introspector/jlr/AnnotatedFieldImpl.java
Log:
WBRI-158
remove multi-lines in bean toStrings
more info from circular deps
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/AbstractProducerBean.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/AbstractProducerBean.java 2009-03-07 22:19:18 UTC (rev 1809)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/AbstractProducerBean.java 2009-03-07 22:19:27 UTC (rev 1810)
@@ -20,6 +20,7 @@
import java.lang.annotation.Annotation;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
+import java.lang.reflect.Member;
import java.lang.reflect.Method;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
@@ -296,7 +297,7 @@
CreationalContextImpl<?> creationalContextImpl = (CreationalContextImpl<?>) creationalContext;
if (creationalContextImpl.containsIncompleteInstance(getDeclaringBean()))
{
- log.warn("Executing producer method on incomplete declaring bean due to circular injection");
+ log.warn("Executing producer field or method " + getAnnotatedItem() + " on incomplete declaring bean " + getDeclaringBean() + " due to circular injection");
return creationalContextImpl.getIncompleteInstance(getDeclaringBean());
}
}
@@ -361,8 +362,7 @@
{
buffer.append("simple producer bean '" + getName() + "'");
}
- buffer.append(" [" + getType().getName() + "]\n");
- buffer.append(" API types " + getTypes() + ", binding types " + getBindings() + "\n");
+ buffer.append(" [" + getType().getName() + "] API types " + getTypes() + ", binding types " + getBindings());
return buffer.toString();
}
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/EnterpriseBean.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/EnterpriseBean.java 2009-03-07 22:19:18 UTC (rev 1809)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/EnterpriseBean.java 2009-03-07 22:19:27 UTC (rev 1810)
@@ -276,8 +276,8 @@
{
buffer.append(" enterprise bean '" + getName() + "'");
}
- buffer.append(" [" + getType().getName() + "]\n");
- buffer.append(" API types " + getTypes() + ", binding types " + getBindings() + "\n");
+ buffer.append(" [" + getType().getName() + "] ");
+ buffer.append("API types " + getTypes() + ", binding types " + getBindings());
return buffer.toString();
}
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/EventBean.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/EventBean.java 2009-03-07 22:19:18 UTC (rev 1809)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/EventBean.java 2009-03-07 22:19:27 UTC (rev 1810)
@@ -182,9 +182,8 @@
StringBuilder buffer = new StringBuilder();
buffer.append(Names.scopeTypeToString(getScopeType()));
buffer.append("Event bean ");
- buffer.append(getType().getName() + "\n");
+ buffer.append(getType().getName());
buffer.append(" API types = ").append(Names.typesToString(getTypes())).append(", binding types = " + Names.annotationsToString(getBindings()));
- buffer.append("\n");
return buffer.toString();
}
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/ProducerFieldBean.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/ProducerFieldBean.java 2009-03-07 22:19:18 UTC (rev 1809)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/ProducerFieldBean.java 2009-03-07 22:19:27 UTC (rev 1810)
@@ -112,8 +112,8 @@
{
buffer.append("simple producer field bean '" + getName() + "'");
}
- buffer.append(" [" + getType().getName() + "]\n");
- buffer.append(" API types " + getTypes() + ", binding types " + getBindings() + "\n");
+ buffer.append(" [" + getType().getName() + "] ");
+ buffer.append("API types " + getTypes() + ", binding types " + getBindings());
return buffer.toString();
}
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/ProducerMethodBean.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/ProducerMethodBean.java 2009-03-07 22:19:18 UTC (rev 1809)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/ProducerMethodBean.java 2009-03-07 22:19:27 UTC (rev 1810)
@@ -181,8 +181,8 @@
{
buffer.append("simple producer method bean '" + getName() + "'");
}
- buffer.append(" [" + getType().getName() + "]\n");
- buffer.append(" API types " + getTypes() + ", binding types " + getBindings() + "\n");
+ buffer.append(" [" + getType().getName() + "] ");
+ buffer.append("API types " + getTypes() + ", binding types " + getBindings());
return buffer.toString();
}
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/context/CreationalContextImpl.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/context/CreationalContextImpl.java 2009-03-07 22:19:18 UTC (rev 1809)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/context/CreationalContextImpl.java 2009-03-07 22:19:27 UTC (rev 1810)
@@ -1,71 +1,71 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.jboss.webbeans.context;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.context.CreationalContext;
-import javax.inject.manager.Bean;
-
-public class CreationalContextImpl<T> implements CreationalContext<T>
-{
-
- private final Map<Bean<?>, Object> incompleteInstances;
- private final Bean<T> bean;
- private final boolean outer;
-
- public CreationalContextImpl(Bean<T> bean)
- {
- this.incompleteInstances = new HashMap<Bean<?>, Object>();
- this.bean = bean;
- this.outer = true;
- }
-
- private CreationalContextImpl(Bean<T> bean, Map<Bean<?>, Object> incompleteInstances)
- {
- this.incompleteInstances = incompleteInstances;
- this.bean = bean;
- this.outer = false;
- }
-
- public void push(T incompleteInstance)
- {
- incompleteInstances.put(bean, incompleteInstance);
- }
-
- public <S> CreationalContextImpl<S> getCreationalContext(Bean<S> bean)
- {
- return new CreationalContextImpl<S>(bean, incompleteInstances);
- }
-
- public <S> S getIncompleteInstance(Bean<S> bean)
- {
- return (S) incompleteInstances.get(bean);
- }
-
- public boolean containsIncompleteInstance(Bean<?> bean)
- {
- return incompleteInstances.containsKey(bean);
- }
-
- public boolean isOuter()
- {
- return outer;
- }
-
-}
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.jboss.webbeans.context;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.context.CreationalContext;
+import javax.inject.manager.Bean;
+
+public class CreationalContextImpl<T> implements CreationalContext<T>
+{
+
+ private final Map<Bean<?>, Object> incompleteInstances;
+ private final Bean<T> bean;
+ private final boolean outer;
+
+ public CreationalContextImpl(Bean<T> bean)
+ {
+ this.incompleteInstances = new HashMap<Bean<?>, Object>();
+ this.bean = bean;
+ this.outer = true;
+ }
+
+ private CreationalContextImpl(Bean<T> bean, Map<Bean<?>, Object> incompleteInstances)
+ {
+ this.incompleteInstances = incompleteInstances;
+ this.bean = bean;
+ this.outer = false;
+ }
+
+ public void push(T incompleteInstance)
+ {
+ incompleteInstances.put(bean, incompleteInstance);
+ }
+
+ public <S> CreationalContextImpl<S> getCreationalContext(Bean<S> bean)
+ {
+ return new CreationalContextImpl<S>(bean, new HashMap<Bean<?>, Object>(incompleteInstances));
+ }
+
+ public <S> S getIncompleteInstance(Bean<S> bean)
+ {
+ return (S) incompleteInstances.get(bean);
+ }
+
+ public boolean containsIncompleteInstance(Bean<?> bean)
+ {
+ return incompleteInstances.containsKey(bean);
+ }
+
+ public boolean isOuter()
+ {
+ return outer;
+ }
+
+}
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/injection/FieldInjectionPoint.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/injection/FieldInjectionPoint.java 2009-03-07 22:19:18 UTC (rev 1809)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/injection/FieldInjectionPoint.java 2009-03-07 22:19:27 UTC (rev 1810)
@@ -31,9 +31,9 @@
public class FieldInjectionPoint<T> extends ForwardingAnnotatedField<T> implements AnnotatedInjectionPoint<T, Field>
{
-
+
private static final Annotation[] EMPTY_ANNOTATION_ARRAY = new Annotation[0];
-
+
private final Bean<?> declaringBean;
private final AnnotatedField<T> field;
@@ -41,7 +41,7 @@
{
return new FieldInjectionPoint<T>(declaringBean, field);
}
-
+
protected FieldInjectionPoint(Bean<?> declaringBean, AnnotatedField<T> field)
{
this.declaringBean = declaringBean;
@@ -84,7 +84,7 @@
rethrowException(e);
}
}
-
+
public void inject(Object declaringInstance, Object value)
{
try
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/introspector/jlr/AnnotatedFieldImpl.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/introspector/jlr/AnnotatedFieldImpl.java 2009-03-07 22:19:18 UTC (rev 1809)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/introspector/jlr/AnnotatedFieldImpl.java 2009-03-07 22:19:27 UTC (rev 1810)
@@ -169,4 +169,25 @@
return toString;
}
+ @Override
+ public boolean equals(Object other)
+ {
+ if (other instanceof AnnotatedField)
+ {
+ AnnotatedField<?> that = (AnnotatedField<?>) other;
+ return this.getDeclaringClass().equals(that.getDeclaringClass()) && this.getName().equals(that.getName());
+ }
+ else
+ {
+ return false;
+ }
+ }
+
+
+ @Override
+ public int hashCode()
+ {
+ return getDelegate().hashCode();
+ }
+
}
15 years, 9 months
[webbeans-commits] Webbeans SVN: r1809 - tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent.
by webbeans-commits@lists.jboss.org
Author: nickarls
Date: 2009-03-07 17:19:18 -0500 (Sat, 07 Mar 2009)
New Revision: 1809
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java
Log:
WBRI-158
remove multi-lines in bean toStrings
more info from circular deps
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java 2009-03-07 20:41:31 UTC (rev 1808)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java 2009-03-07 22:19:18 UTC (rev 1809)
@@ -298,14 +298,13 @@
}.run();
}
- @Test(groups = { "contexts", "beanDestruction", "ri-broken"})
+ @Test(groups = { "contexts", "beanDestruction"})
@SpecAssertions({
@SpecAssertion(section = "8.3.2", id = "a"),
@SpecAssertion(section = "8.3", id = "b")
})
public void testDestroyingSimpleParentDestroysDependentsOfSameBean() throws Exception
{
- // WBRI-158
new RunInDependentContext()
{
15 years, 9 months
[webbeans-commits] Webbeans SVN: r1808 - doc/trunk/reference/en-US.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-03-07 15:41:31 -0500 (Sat, 07 Mar 2009)
New Revision: 1808
Modified:
doc/trunk/reference/en-US/ri-spi.xml
Log:
WBINT-8
Modified: doc/trunk/reference/en-US/ri-spi.xml
===================================================================
--- doc/trunk/reference/en-US/ri-spi.xml 2009-03-07 20:39:25 UTC (rev 1807)
+++ doc/trunk/reference/en-US/ri-spi.xml 2009-03-07 20:41:31 UTC (rev 1808)
@@ -386,7 +386,7 @@
</varlistentry>
<varlistentry>
<term>
- Servlet listener
+ Servlet listener and filters
</term>
<listitem>
<para>
@@ -397,6 +397,16 @@
configuration, for each Web Beans application which uses
Servlet.
</para>
+
+ <para>
+ If you are integrating the Web Beans into a JSF environment
+ you must register
+ <literal>org.jboss.webbeans.servlet.ConversationPropagationFilter</literal>
+ as a Servlet listener, either automatically, or through user
+ configuration, for each Web Beans application which uses
+ JSF. This filter can be registered for all Servlet deployment
+ safely.
+ </para>
</listitem>
</varlistentry>
<varlistentry>
15 years, 9 months
[webbeans-commits] Webbeans SVN: r1807 - examples/trunk/conversations/WebContent/WEB-INF.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-03-07 15:39:25 -0500 (Sat, 07 Mar 2009)
New Revision: 1807
Added:
examples/trunk/conversations/WebContent/WEB-INF/.faces-config.xml.jsfdia
Modified:
examples/trunk/conversations/WebContent/WEB-INF/web.xml
Log:
WBINT-8
Added: examples/trunk/conversations/WebContent/WEB-INF/.faces-config.xml.jsfdia
===================================================================
--- examples/trunk/conversations/WebContent/WEB-INF/.faces-config.xml.jsfdia (rev 0)
+++ examples/trunk/conversations/WebContent/WEB-INF/.faces-config.xml.jsfdia 2009-03-07 20:39:25 UTC (rev 1807)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PROCESS model-entity="JSFProcess">
+ <PROCESS-ITEM NAME="rules:#home.xhtml" PATH="/home.xhtml"
+ SHAPE="144,120,0,0" model-entity="JSFProcessGroup">
+ <PROCESS-ITEM ID="rules:#home.xhtml:0" NAME="item" PATH="/home.xhtml" model-entity="JSFProcessItem">
+ <PROCESS-ITEM-OUTPUT ID="home::#home.xhtml" NAME="output"
+ PATH="/home.xhtml" TARGET="rules:#home.xhtml" TITLE="home" model-entity="JSFProcessItemOutput"/>
+ </PROCESS-ITEM>
+ </PROCESS-ITEM>
+</PROCESS>
Modified: examples/trunk/conversations/WebContent/WEB-INF/web.xml
===================================================================
--- examples/trunk/conversations/WebContent/WEB-INF/web.xml 2009-03-07 20:22:12 UTC (rev 1806)
+++ examples/trunk/conversations/WebContent/WEB-INF/web.xml 2009-03-07 20:39:25 UTC (rev 1807)
@@ -28,16 +28,5 @@
<session-config>
<session-timeout>10</session-timeout>
</session-config>
-
- <filter>
- <filter-name>Web Beans Conversation Propagation Filter</filter-name>
- <filter-class>org.jboss.webbeans.servlet.ConversationPropagationFilter</filter-class>
- </filter>
-
- <filter-mapping>
- <filter-name>Web Beans Conversation Propagation Filter</filter-name>
- <servlet-name>Faces Servlet</servlet-name>
- <url-pattern>*.jsf</url-pattern>
- </filter-mapping>
</web-app>
15 years, 9 months
[webbeans-commits] Webbeans SVN: r1806 - in examples/trunk/conversations: WebContent/WEB-INF and 1 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-03-07 15:22:12 -0500 (Sat, 07 Mar 2009)
New Revision: 1806
Modified:
examples/trunk/conversations/WebContent/WEB-INF/faces-config.xml
examples/trunk/conversations/WebContent/WEB-INF/web.xml
examples/trunk/conversations/WebContent/home.xhtml
examples/trunk/conversations/src/main/java/org/jboss/webbeans/examples/conversations/Conversations.java
Log:
A couple of redirect tests
Modified: examples/trunk/conversations/WebContent/WEB-INF/faces-config.xml
===================================================================
--- examples/trunk/conversations/WebContent/WEB-INF/faces-config.xml 2009-03-07 19:44:42 UTC (rev 1805)
+++ examples/trunk/conversations/WebContent/WEB-INF/faces-config.xml 2009-03-07 20:22:12 UTC (rev 1806)
@@ -1,11 +1,18 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<faces-config version="1.2"
- xmlns="http://java.sun.com/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
-
- <application>
- <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
- </application>
+<?xml version="1.0" encoding="UTF-8"?>
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
+ <navigation-rule>
+ <from-view-id>/home.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>home</from-outcome>
+ <to-view-id>/home.xhtml</to-view-id>
+ <redirect/>
+ </navigation-case>
+ </navigation-rule>
+
+ <application>
+ <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
+ </application>
</faces-config>
Modified: examples/trunk/conversations/WebContent/WEB-INF/web.xml
===================================================================
--- examples/trunk/conversations/WebContent/WEB-INF/web.xml 2009-03-07 19:44:42 UTC (rev 1805)
+++ examples/trunk/conversations/WebContent/WEB-INF/web.xml 2009-03-07 20:22:12 UTC (rev 1806)
@@ -28,5 +28,16 @@
<session-config>
<session-timeout>10</session-timeout>
</session-config>
+
+ <filter>
+ <filter-name>Web Beans Conversation Propagation Filter</filter-name>
+ <filter-class>org.jboss.webbeans.servlet.ConversationPropagationFilter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>Web Beans Conversation Propagation Filter</filter-name>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.jsf</url-pattern>
+ </filter-mapping>
</web-app>
Modified: examples/trunk/conversations/WebContent/home.xhtml
===================================================================
--- examples/trunk/conversations/WebContent/home.xhtml 2009-03-07 19:44:42 UTC (rev 1805)
+++ examples/trunk/conversations/WebContent/home.xhtml 2009-03-07 20:22:12 UTC (rev 1806)
@@ -12,9 +12,11 @@
<h:outputText value="Long-running: #{conversations.conversationList}"/>
<h:outputText value="Current: #{conversation}"/>
<h:panelGroup>
- <h:commandButton action="#{conversation.begin}" value="begin"/>
+ <h:commandButton action="#{conversations.begin}" value="begin"/>
+ <h:commandButton action="#{conversations.beginAndRedirect}" value="beginAndRedirect"/>
<h:commandButton action="#{conversations.noop}" value="noop"/>
- <h:commandButton action="#{conversation.end}" value="end"/>
+ <h:commandButton action="#{conversations.noopAndRedirect}" value="noopAndRedirect"/>
+ <h:commandButton action="#{conversations.end}" value="end"/>
<h:outputLink value="#{facesContext.externalContext.requestContextPath}/home.jsf">Abandon</h:outputLink>
<h:commandButton action="#{data.longop}" value="longop"/>
</h:panelGroup>
Modified: examples/trunk/conversations/src/main/java/org/jboss/webbeans/examples/conversations/Conversations.java
===================================================================
--- examples/trunk/conversations/src/main/java/org/jboss/webbeans/examples/conversations/Conversations.java 2009-03-07 19:44:42 UTC (rev 1805)
+++ examples/trunk/conversations/src/main/java/org/jboss/webbeans/examples/conversations/Conversations.java 2009-03-07 20:22:12 UTC (rev 1806)
@@ -1,5 +1,6 @@
package org.jboss.webbeans.examples.conversations;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
@@ -10,9 +11,6 @@
import javax.inject.Current;
import javax.inject.Produces;
-import java.io.Serializable;
-
-import org.jboss.webbeans.WebBean;
import org.jboss.webbeans.conversation.ConversationIdGenerator;
import org.jboss.webbeans.conversation.ConversationManager;
import org.jboss.webbeans.conversation.bindings.ConversationInactivityTimeout;
@@ -38,16 +36,33 @@
{
return 10000;
}
+
+ public String end()
+ {
+ conversation.end();
+ return "home";
+ }
- public void abandon()
+ public void begin()
{
- conversation.begin(id.nextId());
+ conversation.begin();
}
+ public String beginAndRedirect()
+ {
+ conversation.begin();
+ return "home";
+ }
+
public void noop()
{
}
+ public String noopAndRedirect()
+ {
+ return "home";
+ }
+
public Iterable<Conversation> getConversationList()
{
return conversationManager.getLongRunningConversations();
15 years, 9 months
[webbeans-commits] Webbeans SVN: r1805 - examples/trunk/conversations/WebContent.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-03-07 14:44:42 -0500 (Sat, 07 Mar 2009)
New Revision: 1805
Modified:
examples/trunk/conversations/WebContent/home.xhtml
Log:
better abandon
Modified: examples/trunk/conversations/WebContent/home.xhtml
===================================================================
--- examples/trunk/conversations/WebContent/home.xhtml 2009-03-07 18:50:45 UTC (rev 1804)
+++ examples/trunk/conversations/WebContent/home.xhtml 2009-03-07 19:44:42 UTC (rev 1805)
@@ -15,7 +15,7 @@
<h:commandButton action="#{conversation.begin}" value="begin"/>
<h:commandButton action="#{conversations.noop}" value="noop"/>
<h:commandButton action="#{conversation.end}" value="end"/>
- <h:commandButton action="#{conversations.abandon}" value="abandon"/>
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/home.jsf">Abandon</h:outputLink>
<h:commandButton action="#{data.longop}" value="longop"/>
</h:panelGroup>
<h:inputText value="#{conversations.cid}"/>
15 years, 9 months