Weld SVN: r6115 - doc/trunk/reference/en-US.
by weld-commits@lists.jboss.org
Author: mazi
Date: 2010-04-14 06:29:36 -0400 (Wed, 14 Apr 2010)
New Revision: 6115
Modified:
doc/trunk/reference/en-US/environments.xml
Log:
WELDX-84, WELDX-23: docs
Modified: doc/trunk/reference/en-US/environments.xml
===================================================================
--- doc/trunk/reference/en-US/environments.xml 2010-04-14 10:18:45 UTC (rev 6114)
+++ doc/trunk/reference/en-US/environments.xml 2010-04-14 10:29:36 UTC (rev 6115)
@@ -174,13 +174,9 @@
</para>
<para>
- Weld also supports Servlet injection in Tomcat. To enable this, place the
- <literal>weld-tomcat-support.jar</literal> in <literal>$TOMCAT_HOME/lib</literal>, and add the following to
- <literal>META-INF/context.xml</literal>:
+ Weld also supports Servlet injection in Tomcat 6.
</para>
-
- <programlisting role="XML"><![CDATA[<Listener className="org.jboss.weld.environment.tomcat.WeldLifecycleListener"/>]]></programlisting>
-
+
</section>
<section>
@@ -219,9 +215,18 @@
</para>
<para>
- Weld does not currently support Servlet injection in Jetty.
+ Weld also supports Servlet injection in Jetty 6. To enable this, add the file
+ <literal>META-INF/jetty-web.xml</literal> with the following content to your war:
</para>
+ <programlisting role="XML"><![CDATA[<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN"
+ "http://jetty.mortbay.org/configure.dtd">
+<Configure id="webAppCtx" class="org.mortbay.jetty.webapp.WebAppContext">
+ <Call class="org.jboss.weld.environment.jetty.WeldServletHandler" name="process">
+ <Arg><Ref id="webAppCtx"/></Arg>
+ </Call>
+</Configure>]]></programlisting>
+
</section>
</section>
14 years, 7 months
Weld SVN: r6114 - in doc/trunk/reference: es-ES and 8 other directories.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-04-14 06:18:45 -0400 (Wed, 14 Apr 2010)
New Revision: 6114
Modified:
doc/trunk/reference/de-DE/injection.po
doc/trunk/reference/es-ES/injection.po
doc/trunk/reference/fr-FR/injection.po
doc/trunk/reference/it-IT/injection.po
doc/trunk/reference/ja-JP/injection.po
doc/trunk/reference/ko-KR/injection.po
doc/trunk/reference/pot/Author_Group.pot
doc/trunk/reference/pot/Book_Info.pot
doc/trunk/reference/pot/beans.pot
doc/trunk/reference/pot/decorators.pot
doc/trunk/reference/pot/dependencies.pot
doc/trunk/reference/pot/ee.pot
doc/trunk/reference/pot/environments.pot
doc/trunk/reference/pot/events.pot
doc/trunk/reference/pot/example.pot
doc/trunk/reference/pot/extend.pot
doc/trunk/reference/pot/extensions.pot
doc/trunk/reference/pot/gettingstarted.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/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/part5.pot
doc/trunk/reference/pot/producermethods.pot
doc/trunk/reference/pot/resources.pot
doc/trunk/reference/pot/ri-spi.pot
doc/trunk/reference/pot/scopescontexts.pot
doc/trunk/reference/pot/specialization.pot
doc/trunk/reference/pot/stereotypes.pot
doc/trunk/reference/pot/viewlayers.pot
doc/trunk/reference/pot/weldexamples.pot
doc/trunk/reference/pot/xml.pot
doc/trunk/reference/pt-BR/injection.po
doc/trunk/reference/zh-CN/injection.po
doc/trunk/reference/zh-TW/injection.po
Log:
update po/pot
Modified: doc/trunk/reference/de-DE/injection.po
===================================================================
--- doc/trunk/reference/de-DE/injection.po 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/de-DE/injection.po 2010-04-14 10:18:45 UTC (rev 6114)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: injection\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
"PO-Revision-Date: 2009-02-15 15:56+1100\n"
"Last-Translator: \n"
"Language-Team: <en(a)li.org>\n"
@@ -929,11 +929,19 @@
msgstr "Die folgende Producer-Methode erledigt die Arbeit:"
#. Tag: para
+#, no-c-format
+msgid ""
+"Note that acquiring of the request in this example is JSF-centric. For a "
+"more generic solution you could write your own prodcuer for the request and "
+"have it injected as a method parameter."
+msgstr ""
+
+#. Tag: para
#, fuzzy, no-c-format
msgid ""
-"(Note that the <literal>value()</literal> member of the <literal>HttpParam</"
-"literal> annotation is ignored by the container since it is annotated "
-"<literal>@Nonbinding.</literal>)"
+"Note also that the <literal>value()</literal> member of the "
+"<literal>HttpParam</literal> annotation is ignored by the container since it "
+"is annotated <literal>@Nonbinding.</literal>"
msgstr ""
"(Beachten Sie, dass das <literal>value()</literal>-Mitglied der "
"<literal>HttpParam</literal>-Annotation vom Web Bean Manager wird, da es mit "
Modified: doc/trunk/reference/es-ES/injection.po
===================================================================
--- doc/trunk/reference/es-ES/injection.po 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/es-ES/injection.po 2010-04-14 10:18:45 UTC (rev 6114)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: injection\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
"PO-Revision-Date: 2009-01-19 15:18+1000\n"
"Last-Translator: Gladys Guerrero Lozano <gguerrer(a)redhat.com>\n"
"Language-Team: Spanish <fedora-trans-es(a)redhat.com>\n"
@@ -927,11 +927,19 @@
msgstr "El siguiente método de productor sí funciona:"
#. Tag: para
+#, no-c-format
+msgid ""
+"Note that acquiring of the request in this example is JSF-centric. For a "
+"more generic solution you could write your own prodcuer for the request and "
+"have it injected as a method parameter."
+msgstr ""
+
+#. Tag: para
#, fuzzy, no-c-format
msgid ""
-"(Note that the <literal>value()</literal> member of the <literal>HttpParam</"
-"literal> annotation is ignored by the container since it is annotated "
-"<literal>@Nonbinding.</literal>)"
+"Note also that the <literal>value()</literal> member of the "
+"<literal>HttpParam</literal> annotation is ignored by the container since it "
+"is annotated <literal>@Nonbinding.</literal>"
msgstr ""
"(Observe que el miembro del <literal>valor()</literal> de la anotación "
"<literal>HttpParam</literal> es ignorado por el administrador de Web Bean "
Modified: doc/trunk/reference/fr-FR/injection.po
===================================================================
--- doc/trunk/reference/fr-FR/injection.po 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/fr-FR/injection.po 2010-04-14 10:18:45 UTC (rev 6114)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
"PO-Revision-Date: 2009-02-05 00:00+0100\n"
"Last-Translator: Vincent Latombe <vincent.latombe(a)gmail.com>\n"
"Language-Team: none\n"
@@ -869,14 +869,22 @@
#. Tag: para
#, no-c-format
msgid ""
-"(Note that the <literal>value()</literal> member of the <literal>HttpParam</"
-"literal> annotation is ignored by the container since it is annotated "
-"<literal>@Nonbinding.</literal>)"
+"Note that acquiring of the request in this example is JSF-centric. For a "
+"more generic solution you could write your own prodcuer for the request and "
+"have it injected as a method parameter."
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
+"Note also that the <literal>value()</literal> member of the "
+"<literal>HttpParam</literal> annotation is ignored by the container since it "
+"is annotated <literal>@Nonbinding.</literal>"
+msgstr ""
+
+#. Tag: para
+#, no-c-format
+msgid ""
"The container provides a built-in bean that implements the "
"<literal>InjectionPoint</literal> interface:"
msgstr ""
Modified: doc/trunk/reference/it-IT/injection.po
===================================================================
--- doc/trunk/reference/it-IT/injection.po 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/it-IT/injection.po 2010-04-14 10:18:45 UTC (rev 6114)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
"PO-Revision-Date: 2009-01-24 19:22+0100\n"
"Last-Translator: Nicola Benaglia <nico.benaz(a)gmail.com>\n"
"Language-Team: none\n"
@@ -937,11 +937,19 @@
msgstr "Il seguente metodo produttore esegue il lavoro:"
#. Tag: para
+#, no-c-format
+msgid ""
+"Note that acquiring of the request in this example is JSF-centric. For a "
+"more generic solution you could write your own prodcuer for the request and "
+"have it injected as a method parameter."
+msgstr ""
+
+#. Tag: para
#, fuzzy, no-c-format
msgid ""
-"(Note that the <literal>value()</literal> member of the <literal>HttpParam</"
-"literal> annotation is ignored by the container since it is annotated "
-"<literal>@Nonbinding.</literal>)"
+"Note also that the <literal>value()</literal> member of the "
+"<literal>HttpParam</literal> annotation is ignored by the container since it "
+"is annotated <literal>@Nonbinding.</literal>"
msgstr ""
"(Occorre notare che il membro <literal>value()</literal> dell'annotazione "
"<literal>HttpParam</literal> viene ignorato dal manager Web Bean poiché è "
Modified: doc/trunk/reference/ja-JP/injection.po
===================================================================
--- doc/trunk/reference/ja-JP/injection.po 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/ja-JP/injection.po 2010-04-14 10:18:45 UTC (rev 6114)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
"PO-Revision-Date: 2009-06-02 01:32+0900\n"
"Last-Translator: Daisuke Sano <d-sano(a)nri.co.jp>\n"
"Language-Team: none\n"
@@ -911,11 +911,19 @@
msgstr "次のプロデューサメソッドが動作します。"
#. Tag: para
+#, no-c-format
+msgid ""
+"Note that acquiring of the request in this example is JSF-centric. For a "
+"more generic solution you could write your own prodcuer for the request and "
+"have it injected as a method parameter."
+msgstr ""
+
+#. Tag: para
#, fuzzy, no-c-format
msgid ""
-"(Note that the <literal>value()</literal> member of the <literal>HttpParam</"
-"literal> annotation is ignored by the container since it is annotated "
-"<literal>@Nonbinding.</literal>)"
+"Note also that the <literal>value()</literal> member of the "
+"<literal>HttpParam</literal> annotation is ignored by the container since it "
+"is annotated <literal>@Nonbinding.</literal>"
msgstr ""
"(<literal>HttpParam</literal>アノテーションの<literal>value()</literal>メン"
"バーは、<literal>@NonBinding</literal>アノテーションが付いているので、Web "
Modified: doc/trunk/reference/ko-KR/injection.po
===================================================================
--- doc/trunk/reference/ko-KR/injection.po 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/ko-KR/injection.po 2010-04-14 10:18:45 UTC (rev 6114)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: injection\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
"PO-Revision-Date: 2009-01-23 17:37+1000\n"
"Last-Translator: Eunju Kim <eukim(a)redhat.com>\n"
"Language-Team: Korean <ko(a)li.org>\n"
@@ -919,11 +919,19 @@
msgstr "다음의 생산자 방식은 다음과 같이 작업합니다: "
#. Tag: para
+#, no-c-format
+msgid ""
+"Note that acquiring of the request in this example is JSF-centric. For a "
+"more generic solution you could write your own prodcuer for the request and "
+"have it injected as a method parameter."
+msgstr ""
+
+#. Tag: para
#, fuzzy, no-c-format
msgid ""
-"(Note that the <literal>value()</literal> member of the <literal>HttpParam</"
-"literal> annotation is ignored by the container since it is annotated "
-"<literal>@Nonbinding.</literal>)"
+"Note also that the <literal>value()</literal> member of the "
+"<literal>HttpParam</literal> annotation is ignored by the container since it "
+"is annotated <literal>@Nonbinding.</literal>"
msgstr ""
"<literal>HttpParam</literal> 어노테이션의 <literal>value()</literal> 멤버는"
"<literal>@NonBinding.</literal>을 어노테이션하므로 Web Bean 관리자에 의해 무"
Modified: doc/trunk/reference/pot/Author_Group.pot
===================================================================
--- doc/trunk/reference/pot/Author_Group.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/Author_Group.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
-"PO-Revision-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:00\n"
+"PO-Revision-Date: 2010-04-14T10:16:00\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/Book_Info.pot
===================================================================
--- doc/trunk/reference/pot/Book_Info.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/Book_Info.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
-"PO-Revision-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:00\n"
+"PO-Revision-Date: 2010-04-14T10:16:00\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/beans.pot
===================================================================
--- doc/trunk/reference/pot/beans.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/beans.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
-"PO-Revision-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:00\n"
+"PO-Revision-Date: 2010-04-14T10:16:00\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/decorators.pot
===================================================================
--- doc/trunk/reference/pot/decorators.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/decorators.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
-"PO-Revision-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:00\n"
+"PO-Revision-Date: 2010-04-14T10:16:00\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/dependencies.pot
===================================================================
--- doc/trunk/reference/pot/dependencies.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/dependencies.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
-"PO-Revision-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:00\n"
+"PO-Revision-Date: 2010-04-14T10:16:00\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/ee.pot
===================================================================
--- doc/trunk/reference/pot/ee.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/ee.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
-"PO-Revision-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:00\n"
+"PO-Revision-Date: 2010-04-14T10:16:00\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/environments.pot
===================================================================
--- doc/trunk/reference/pot/environments.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/environments.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
-"PO-Revision-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/events.pot
===================================================================
--- doc/trunk/reference/pot/events.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/events.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
-"PO-Revision-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/example.pot
===================================================================
--- doc/trunk/reference/pot/example.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/example.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
-"PO-Revision-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/extend.pot
===================================================================
--- doc/trunk/reference/pot/extend.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/extend.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
-"PO-Revision-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/extensions.pot
===================================================================
--- doc/trunk/reference/pot/extensions.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/extensions.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
-"PO-Revision-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/gettingstarted.pot
===================================================================
--- doc/trunk/reference/pot/gettingstarted.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/gettingstarted.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
-"PO-Revision-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/injection.pot
===================================================================
--- doc/trunk/reference/pot/injection.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/injection.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
-"PO-Revision-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
@@ -589,11 +589,16 @@
#. Tag: para
#, no-c-format
-msgid "(Note that the <literal>value()</literal> member of the <literal>HttpParam</literal> annotation is ignored by the container since it is annotated <literal>@Nonbinding.</literal>)"
+msgid "Note that acquiring of the request in this example is JSF-centric. For a more generic solution you could write your own prodcuer for the request and have it injected as a method parameter."
msgstr ""
#. Tag: para
#, no-c-format
+msgid "Note also that the <literal>value()</literal> member of the <literal>HttpParam</literal> annotation is ignored by the container since it is annotated <literal>@Nonbinding.</literal>"
+msgstr ""
+
+#. Tag: para
+#, no-c-format
msgid "The container provides a built-in bean that implements the <literal>InjectionPoint</literal> interface:"
msgstr ""
Modified: doc/trunk/reference/pot/interceptors.pot
===================================================================
--- doc/trunk/reference/pot/interceptors.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/interceptors.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
-"PO-Revision-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/intro.pot
===================================================================
--- doc/trunk/reference/pot/intro.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/intro.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/master.pot
===================================================================
--- doc/trunk/reference/pot/master.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/master.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/next.pot
===================================================================
--- doc/trunk/reference/pot/next.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/next.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/part1.pot
===================================================================
--- doc/trunk/reference/pot/part1.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/part1.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/part2.pot
===================================================================
--- doc/trunk/reference/pot/part2.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/part2.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/part3.pot
===================================================================
--- doc/trunk/reference/pot/part3.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/part3.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/part4.pot
===================================================================
--- doc/trunk/reference/pot/part4.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/part4.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/part5.pot
===================================================================
--- doc/trunk/reference/pot/part5.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/part5.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/producermethods.pot
===================================================================
--- doc/trunk/reference/pot/producermethods.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/producermethods.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/resources.pot
===================================================================
--- doc/trunk/reference/pot/resources.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/resources.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/ri-spi.pot
===================================================================
--- doc/trunk/reference/pot/ri-spi.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/ri-spi.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/scopescontexts.pot
===================================================================
--- doc/trunk/reference/pot/scopescontexts.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/scopescontexts.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/specialization.pot
===================================================================
--- doc/trunk/reference/pot/specialization.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/specialization.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/stereotypes.pot
===================================================================
--- doc/trunk/reference/pot/stereotypes.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/stereotypes.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/viewlayers.pot
===================================================================
--- doc/trunk/reference/pot/viewlayers.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/viewlayers.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/weldexamples.pot
===================================================================
--- doc/trunk/reference/pot/weldexamples.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/weldexamples.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pot/xml.pot
===================================================================
--- doc/trunk/reference/pot/xml.pot 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pot/xml.pot 2010-04-14 10:18:45 UTC (rev 6114)
@@ -4,8 +4,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
-"POT-Creation-Date: 2010-03-02T13:07:18\n"
-"PO-Revision-Date: 2010-03-02T13:07:18\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
+"PO-Revision-Date: 2010-04-14T10:16:01\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
Modified: doc/trunk/reference/pt-BR/injection.po
===================================================================
--- doc/trunk/reference/pt-BR/injection.po 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/pt-BR/injection.po 2010-04-14 10:18:45 UTC (rev 6114)
@@ -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: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
"PO-Revision-Date: 2010-01-18 17:51-0300\n"
"Last-Translator: Bruno Leonardo Gonçalves <brunolmfg(a)gmail.com>\n"
"Language-Team: none\n"
@@ -1061,10 +1061,18 @@
#. Tag: para
#, no-c-format
msgid ""
-"(Note that the <literal>value()</literal> member of the <literal>HttpParam</"
-"literal> annotation is ignored by the container since it is annotated "
-"<literal>@Nonbinding.</literal>)"
+"Note that acquiring of the request in this example is JSF-centric. For a "
+"more generic solution you could write your own prodcuer for the request and "
+"have it injected as a method parameter."
msgstr ""
+
+#. Tag: para
+#, fuzzy, no-c-format
+msgid ""
+"Note also that the <literal>value()</literal> member of the "
+"<literal>HttpParam</literal> annotation is ignored by the container since it "
+"is annotated <literal>@Nonbinding.</literal>"
+msgstr ""
"(Observe que o membro <literal>value()</literal> da anotação "
"<literal>HttpParam</literal> é ignorado pelo contêiner uma vez que ele está "
"anotado com <literal>@Nonbinding.</literal>)"
Modified: doc/trunk/reference/zh-CN/injection.po
===================================================================
--- doc/trunk/reference/zh-CN/injection.po 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/zh-CN/injection.po 2010-04-14 10:18:45 UTC (rev 6114)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
"PO-Revision-Date: 2009-03-13 10:08+0800\n"
"Last-Translator: Sean Wu <alartin(a)gmail.com>\n"
"Language-Team: none\n"
@@ -864,11 +864,19 @@
msgstr "下面的生产方法能够完成这个工作:"
#. Tag: para
+#, no-c-format
+msgid ""
+"Note that acquiring of the request in this example is JSF-centric. For a "
+"more generic solution you could write your own prodcuer for the request and "
+"have it injected as a method parameter."
+msgstr ""
+
+#. Tag: para
#, fuzzy, no-c-format
msgid ""
-"(Note that the <literal>value()</literal> member of the <literal>HttpParam</"
-"literal> annotation is ignored by the container since it is annotated "
-"<literal>@Nonbinding.</literal>)"
+"Note also that the <literal>value()</literal> member of the "
+"<literal>HttpParam</literal> annotation is ignored by the container since it "
+"is annotated <literal>@Nonbinding.</literal>"
msgstr ""
"(注意 <literal>HttpParam</literal> 注释的成员 <literal>value()</literal> 将被"
"Web Bean管理器忽略,因为它拥有 <literal>@NonBinding.</literal> 注释)"
Modified: doc/trunk/reference/zh-TW/injection.po
===================================================================
--- doc/trunk/reference/zh-TW/injection.po 2010-04-14 07:42:19 UTC (rev 6113)
+++ doc/trunk/reference/zh-TW/injection.po 2010-04-14 10:18:45 UTC (rev 6114)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: injection\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2010-03-02T13:07:17\n"
+"POT-Creation-Date: 2010-04-14T10:16:01\n"
"PO-Revision-Date: 2009-01-19 16:05+1000\n"
"Last-Translator: Terry Chuang <tchuang(a)redhat.com>\n"
"Language-Team: Traditional Chinese <zh(a)li.org>\n"
@@ -887,11 +887,19 @@
msgstr "下列 producer method 可完成此工作:"
#. Tag: para
+#, no-c-format
+msgid ""
+"Note that acquiring of the request in this example is JSF-centric. For a "
+"more generic solution you could write your own prodcuer for the request and "
+"have it injected as a method parameter."
+msgstr ""
+
+#. Tag: para
#, fuzzy, no-c-format
msgid ""
-"(Note that the <literal>value()</literal> member of the <literal>HttpParam</"
-"literal> annotation is ignored by the container since it is annotated "
-"<literal>@Nonbinding.</literal>)"
+"Note also that the <literal>value()</literal> member of the "
+"<literal>HttpParam</literal> annotation is ignored by the container since it "
+"is annotated <literal>@Nonbinding.</literal>"
msgstr ""
"(請注意,<literal>HttpParam</literal> 標記的 <literal>value()</literal> 成員"
"已被 Web Bean 管理員忽略掉,因為它已被標記為 <literal>@NonBinding.</"
14 years, 7 months
Weld SVN: r6113 - cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/circular.
by weld-commits@lists.jboss.org
Author: nickarls
Date: 2010-04-14 03:42:19 -0400 (Wed, 14 Apr 2010)
New Revision: 6113
Modified:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/circular/Pig.java
Log:
Related to CDITCK-140
Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/circular/Pig.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/circular/Pig.java 2010-04-13 19:44:21 UTC (rev 6112)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/circular/Pig.java 2010-04-14 07:42:19 UTC (rev 6113)
@@ -17,10 +17,10 @@
package org.jboss.jsr299.tck.tests.lookup.circular;
import javax.annotation.PostConstruct;
-import javax.enterprise.context.ApplicationScoped;
+import javax.enterprise.context.SessionScoped;
import javax.inject.Inject;
-@ApplicationScoped
+@SessionScoped
class Pig
{
14 years, 7 months
Weld SVN: r6112 - cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent.
by weld-commits@lists.jboss.org
Author: marius.bogoevici
Date: 2010-04-13 15:44:21 -0400 (Tue, 13 Apr 2010)
New Revision: 6112
Modified:
cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Transactional.java
Log:
CDITCK-135: previous definition violated CDI spec 9.2
Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Transactional.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Transactional.java 2010-04-13 19:44:00 UTC (rev 6111)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Transactional.java 2010-04-13 19:44:21 UTC (rev 6112)
@@ -26,7 +26,7 @@
import javax.interceptor.InterceptorBinding;
-@Target( { TYPE, METHOD})
+@Target( { TYPE})
@Retention(RUNTIME)
@Documented
@InterceptorBinding
14 years, 7 months
Weld SVN: r6111 - cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent.
by weld-commits@lists.jboss.org
Author: marius.bogoevici
Date: 2010-04-13 15:44:00 -0400 (Tue, 13 Apr 2010)
New Revision: 6111
Modified:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Transactional.java
Log:
CDITCK-135: previous definition violated CDI spec 9.2
Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Transactional.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Transactional.java 2010-04-13 17:54:15 UTC (rev 6110)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Transactional.java 2010-04-13 19:44:00 UTC (rev 6111)
@@ -26,7 +26,7 @@
import javax.interceptor.InterceptorBinding;
-@Target( { TYPE, METHOD})
+@Target( { TYPE})
@Retention(RUNTIME)
@Documented
@InterceptorBinding
14 years, 7 months
Weld SVN: r6110 - in core/trunk: impl/src/main/java/org/jboss/weld/util/reflection and 1 other directories.
by weld-commits@lists.jboss.org
Author: marius.bogoevici
Date: 2010-04-13 13:54:15 -0400 (Tue, 13 Apr 2010)
New Revision: 6110
Modified:
core/trunk/impl/src/main/java/org/jboss/weld/util/Proxies.java
core/trunk/impl/src/main/java/org/jboss/weld/util/reflection/Reflections.java
core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/ProxiabilityTest.java
Log:
WELD-477 private final methods are ignored when checking proxiability
Modified: core/trunk/impl/src/main/java/org/jboss/weld/util/Proxies.java
===================================================================
--- core/trunk/impl/src/main/java/org/jboss/weld/util/Proxies.java 2010-04-13 17:35:12 UTC (rev 6109)
+++ core/trunk/impl/src/main/java/org/jboss/weld/util/Proxies.java 2010-04-13 17:54:15 UTC (rev 6110)
@@ -326,7 +326,7 @@
}
else if (Reflections.isTypeOrAnyMethodFinal(clazz))
{
- return new UnproxyableResolutionException(NOT_PROXYABLE_FINAL_TYPE_OR_METHOD, clazz, Reflections.getFinalMethodOrType(clazz));
+ return new UnproxyableResolutionException(NOT_PROXYABLE_FINAL_TYPE_OR_METHOD, clazz, Reflections.getNonPrivateFinalMethodOrType(clazz));
}
else if (clazz.isPrimitive())
{
Modified: core/trunk/impl/src/main/java/org/jboss/weld/util/reflection/Reflections.java
===================================================================
--- core/trunk/impl/src/main/java/org/jboss/weld/util/reflection/Reflections.java 2010-04-13 17:35:12 UTC (rev 6109)
+++ core/trunk/impl/src/main/java/org/jboss/weld/util/reflection/Reflections.java 2010-04-13 17:54:15 UTC (rev 6110)
@@ -148,6 +148,17 @@
}
/**
+ * Checks if member is private
+ *
+ * @param member The member to check
+ * @return True if final, false otherwise
+ */
+ public static boolean isPrivate(Member member)
+ {
+ return Modifier.isPrivate(member.getModifiers());
+ }
+
+ /**
* Checks if type or member is final
*
* @param type Type or member
@@ -155,10 +166,10 @@
*/
public static boolean isTypeOrAnyMethodFinal(Class<?> type)
{
- return getFinalMethodOrType(type) != null;
+ return getNonPrivateFinalMethodOrType(type) != null;
}
- public static Object getFinalMethodOrType(Class<?> type)
+ public static Object getNonPrivateFinalMethodOrType(Class<?> type)
{
if (isFinal(type))
{
@@ -166,7 +177,7 @@
}
for (Method method : type.getDeclaredMethods())
{
- if (isFinal(method))
+ if (isFinal(method) && !isPrivate(method))
{
return method;
}
Modified: core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/ProxiabilityTest.java
===================================================================
--- core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/ProxiabilityTest.java 2010-04-13 17:35:12 UTC (rev 6109)
+++ core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/ProxiabilityTest.java 2010-04-13 17:54:15 UTC (rev 6110)
@@ -28,7 +28,7 @@
public class ProxiabilityTest extends AbstractWeldTest
{
- @Test(description = "https://jira.jboss.org/jira/browse/WELD-477", groups="broken")
+ @Test(description = "https://jira.jboss.org/jira/browse/WELD-477")
public void testClassWithPrivateFinalMethodsProxyable()
{
InjectedClass injectedClassInstance = getReference(InjectedClass.class);
14 years, 7 months
Weld SVN: r6109 - in core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy: weld477 and 1 other directory.
by weld-commits@lists.jboss.org
Author: marius.bogoevici
Date: 2010-04-13 13:35:12 -0400 (Tue, 13 Apr 2010)
New Revision: 6109
Added:
core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/
core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/InjectedClass.java
core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/ProxiabilityTest.java
core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/ScopedClass.java
Log:
Add test for WELD-477
Added: core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/InjectedClass.java
===================================================================
--- core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/InjectedClass.java (rev 0)
+++ core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/InjectedClass.java 2010-04-13 17:35:12 UTC (rev 6109)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc. and/or its affiliates, 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.weld.tests.proxy.weld477;
+
+import javax.inject.Inject;
+
+/**
+ * @author Marius Bogoevici
+ */
+public class InjectedClass
+{
+ @Inject ScopedClass dependency;
+
+ public ScopedClass getDependency()
+ {
+ return dependency;
+ }
+}
Added: core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/ProxiabilityTest.java
===================================================================
--- core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/ProxiabilityTest.java (rev 0)
+++ core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/ProxiabilityTest.java 2010-04-13 17:35:12 UTC (rev 6109)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc. and/or its affiliates, 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.weld.tests.proxy.weld477;
+
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.weld.test.AbstractWeldTest;
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/**
+ * @author Marius Bogoevici
+ */
+@Artifact
+public class ProxiabilityTest extends AbstractWeldTest
+{
+
+ @Test(description = "https://jira.jboss.org/jira/browse/WELD-477", groups="broken")
+ public void testClassWithPrivateFinalMethodsProxyable()
+ {
+ InjectedClass injectedClassInstance = getReference(InjectedClass.class);
+ Assert.assertNotNull(injectedClassInstance.getDependency());
+ }
+}
Added: core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/ScopedClass.java
===================================================================
--- core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/ScopedClass.java (rev 0)
+++ core/trunk/tests/src/test/java/org/jboss/weld/tests/proxy/weld477/ScopedClass.java 2010-04-13 17:35:12 UTC (rev 6109)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc. and/or its affiliates, 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.weld.tests.proxy.weld477;
+
+import javax.enterprise.context.ApplicationScoped;
+
+/**
+ * @author Marius Bogoevici
+ */
+@ApplicationScoped
+public class ScopedClass
+{
+ private final void privateMethod()
+ {
+
+ }
+
+ public void publicMethod()
+ {
+
+ }
+
+}
14 years, 7 months
Weld SVN: r6108 - core/trunk/impl/src/main/resources/org/jboss/weld/messages.
by weld-commits@lists.jboss.org
Author: marius.bogoevici
Date: 2010-04-13 13:33:09 -0400 (Tue, 13 Apr 2010)
New Revision: 6108
Modified:
core/trunk/impl/src/main/resources/org/jboss/weld/messages/validator_en.properties
Log:
Corrected wording on NOT_PROXYABLE_FINAL_TYPE_OR_METHOD: should refer to final and not private types and methods.
Modified: core/trunk/impl/src/main/resources/org/jboss/weld/messages/validator_en.properties
===================================================================
--- core/trunk/impl/src/main/resources/org/jboss/weld/messages/validator_en.properties 2010-04-13 15:40:34 UTC (rev 6107)
+++ core/trunk/impl/src/main/resources/org/jboss/weld/messages/validator_en.properties 2010-04-13 17:33:09 UTC (rev 6108)
@@ -34,7 +34,7 @@
NOT_PROXYABLE_UNKNOWN=Normal scoped bean {0} is not proxyable for an unknown reason.
NOT_PROXYABLE_NO_CONSTRUCTOR=Normal scoped bean {0} is not proxyable because it has no no-args constructor.
NOT_PROXYABLE_PRIVATE_CONSTRUCTOR=Normal scoped bean {0} is not proxyable because it has a private no-args constructor {1}.
-NOT_PROXYABLE_FINAL_TYPE_OR_METHOD=Normal scoped bean {0} is not proxyable because the type is private or it contains a prive method {1}.
+NOT_PROXYABLE_FINAL_TYPE_OR_METHOD=Normal scoped bean {0} is not proxyable because the type is final or it contains a final method {1}.
NOT_PROXYABLE_PRIMITIVE=Normal scoped bean {0} is not proxyable because it is a primitive
NOT_PROXYABLE_ARRAY_TYPE=Normal scoped bean {0} is not proxyable because it is an array type
SCOPE_ANNOTATION_ON_INJECTION_POINT=Scope type {0} used on injection point {1}
\ No newline at end of file
14 years, 7 months
Weld SVN: r6107 - servlet/trunk.
by weld-commits@lists.jboss.org
Author: mazi
Date: 2010-04-13 11:40:34 -0400 (Tue, 13 Apr 2010)
New Revision: 6107
Removed:
servlet/trunk/support/
Modified:
servlet/trunk/pom.xml
Log:
WELDX-84: removed the whole tomcat-support module
Modified: servlet/trunk/pom.xml
===================================================================
--- servlet/trunk/pom.xml 2010-04-13 15:22:44 UTC (rev 6106)
+++ servlet/trunk/pom.xml 2010-04-13 15:40:34 UTC (rev 6107)
@@ -24,7 +24,6 @@
<modules>
<module>int</module>
<module>build</module>
- <module>support</module>
<module>tests</module>
</modules>
14 years, 7 months
Weld SVN: r6106 - servlet/trunk/tests/src/test/java/org/jboss/weld/test/tomcat/lookup.
by weld-commits@lists.jboss.org
Author: mazi
Date: 2010-04-13 11:22:44 -0400 (Tue, 13 Apr 2010)
New Revision: 6106
Modified:
servlet/trunk/tests/src/test/java/org/jboss/weld/test/tomcat/lookup/FilterInjectionTest.java
servlet/trunk/tests/src/test/java/org/jboss/weld/test/tomcat/lookup/ListenerInjectionTest.java
servlet/trunk/tests/src/test/java/org/jboss/weld/test/tomcat/lookup/ServletInjectionTest.java
Log:
WELDX-84: removed redundant code
Modified: servlet/trunk/tests/src/test/java/org/jboss/weld/test/tomcat/lookup/FilterInjectionTest.java
===================================================================
--- servlet/trunk/tests/src/test/java/org/jboss/weld/test/tomcat/lookup/FilterInjectionTest.java 2010-04-13 15:19:46 UTC (rev 6105)
+++ servlet/trunk/tests/src/test/java/org/jboss/weld/test/tomcat/lookup/FilterInjectionTest.java 2010-04-13 15:22:44 UTC (rev 6106)
@@ -13,9 +13,6 @@
import org.jboss.testharness.impl.packaging.Resource;
import org.jboss.testharness.impl.packaging.Resources;
import org.jboss.weld.test.AbstractWeldTest;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
@Artifact(addCurrentPackage=false)
@@ -30,17 +27,6 @@
})
public class FilterInjectionTest extends AbstractWeldTest
{
-
- private static final Logger log = LoggerFactory.getLogger(FilterInjectionTest.class);
-
- @Override
- @BeforeClass
- public void beforeClass() throws Throwable
- {
- super.beforeClass();
- }
-
-
@Test
public void testFilterInjection() throws Exception
{
Modified: servlet/trunk/tests/src/test/java/org/jboss/weld/test/tomcat/lookup/ListenerInjectionTest.java
===================================================================
--- servlet/trunk/tests/src/test/java/org/jboss/weld/test/tomcat/lookup/ListenerInjectionTest.java 2010-04-13 15:19:46 UTC (rev 6105)
+++ servlet/trunk/tests/src/test/java/org/jboss/weld/test/tomcat/lookup/ListenerInjectionTest.java 2010-04-13 15:22:44 UTC (rev 6106)
@@ -13,10 +13,6 @@
import org.jboss.testharness.impl.packaging.Resource;
import org.jboss.testharness.impl.packaging.Resources;
import org.jboss.weld.test.AbstractWeldTest;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.testng.annotations.BeforeClass;
-import org.testng.annotations.Test;
@Artifact(addCurrentPackage=false)
@IntegrationTest(runLocally=true)
@@ -31,17 +27,6 @@
})
public class ListenerInjectionTest extends AbstractWeldTest
{
-
- private static final Logger log = LoggerFactory.getLogger(ListenerInjectionTest.class);
-
- @Override
- @BeforeClass
- public void beforeClass() throws Throwable
- {
- super.beforeClass();
- }
-
-
// This test currently fails showing that injection into Listeners doesn't
// work in Tomcat standalone.
// @Test
Modified: servlet/trunk/tests/src/test/java/org/jboss/weld/test/tomcat/lookup/ServletInjectionTest.java
===================================================================
--- servlet/trunk/tests/src/test/java/org/jboss/weld/test/tomcat/lookup/ServletInjectionTest.java 2010-04-13 15:19:46 UTC (rev 6105)
+++ servlet/trunk/tests/src/test/java/org/jboss/weld/test/tomcat/lookup/ServletInjectionTest.java 2010-04-13 15:22:44 UTC (rev 6106)
@@ -1,23 +1,15 @@
package org.jboss.weld.test.tomcat.lookup;
-
-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.jboss.testharness.impl.packaging.Artifact;
-import org.jboss.testharness.impl.packaging.Classes;
-import org.jboss.testharness.impl.packaging.IntegrationTest;
-import org.jboss.testharness.impl.packaging.Resource;
-import org.jboss.testharness.impl.packaging.Resources;
+import org.jboss.testharness.impl.packaging.*;
import org.jboss.weld.test.AbstractWeldTest;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
+import javax.servlet.http.HttpServletResponse;
+
@Artifact(addCurrentPackage=false)
@IntegrationTest(runLocally=true)
@Resources({
@@ -30,17 +22,7 @@
})
public class ServletInjectionTest extends AbstractWeldTest
{
-
- private static final Logger log = LoggerFactory.getLogger(ServletInjectionTest.class);
-
- @Override
- @BeforeClass
- public void beforeClass() throws Throwable
- {
- super.beforeClass();
- }
-
-
+
@Test
public void testServletInjection() throws Exception
{
14 years, 7 months